3 ms·
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 work
by dkarras 6y ago
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?
- aenero 6y agoThe optimizations on preventing unnecessary re-renders are well-documented here: https://simpler-state.js.org/recipe-transforms.html https://simpler-state.js.org/recipe-transforms.html Thanks for your reply.
- benjaminclauss 6y agoI used to see a lot of online sentiment that Vue would "take over" where React is used now. Is this still the case?