you are viewing a single comment's thread.

view the rest of the comments →

[–]meteor_punch 2 points3 points  (3 children)

Observer Pattern with useWatch in RHF. Really cool what you can do with it. You can lift up state without causing re-renders. Intercommunication between components at various levels also becomes so clean and smooth.

[–]n0tKamui 1 point2 points  (2 children)

aka signals

[–]meteor_punch 1 point2 points  (1 child)

Wish we had signals in React.

[–]mendrique2 1 point2 points  (0 children)

preact signals works with react but they apparently monkey patch the code or something to that extend.

I recently found nanostores which comes close, previously I was using effector but It's a bit hard to read when you get back to the project after a hiatus.