DEV Community

loading...

Discussion on: Warped Re-rendering | React performance optimization

Collapse
jai_type profile image
Jai Sandhu

This removes React as the potential cause of bottleneck, for example github.com/react-spring/zustand is similar. I guess this depends on your use case.

Collapse
aftabnack profile image
Aftab Khan Author

This optimization (and example) focusses less on State management and more on updating state. And updating state from different and more often unrelated parts of your app.

Collapse
jai_type profile image
Jai Sandhu

Yes this pattern can be good for that, I’ve used it in the past where I needed a component to react to the end of an animation from an unrelated component