Re:Show HN: SimpleR State – simple state management for React
by dkarras on Monday March 22, 2021 @07:22AM
(#26539336)
So this makes things very similar to how Vue does things. Vue 3 with its encapsulated reactive library also works this way. But immediately I wonder how it works with React innards, do I have to optimize rendering? Does it do wasteful re-renders? How does it affect diffing?
[ Parent
| on HN ]
Re:Show HN: SimpleR State – simple state management for React
by aenero on Monday March 22, 2021 @08:28AM
(#26539845)
The optimizations on preventing unnecessary re-renders are well-documented here:
https://simpler-state.js.org/recipe-transforms.html
Thanks for your reply.
Re:Show HN: SimpleR State – simple state management for React
by benjaminclauss on Monday March 22, 2021 @12:29PM
(#26543051)
I used to see a lot of online sentiment that Vue would "take over" where React is used now. Is this still the case?