State management in React and RN
Hey folks! 😄
Have someone here made a somewhat thorough test of client side state management libraries for React in the past few years?
The ones of interests from my point of view are
Legend State
Redux (RTK)
mobX
Jotai
Zustand
Valtio.
Some factors I’m trying to keep in mind are these (any that you think I forgot here?):
- DX / Learning Curve: How steep is the learning curve for developers who are new to the library, and how much time and effort will it take for them to become proficient? Is it easy to setup?
- Performance & Scalability: : Can the library handle complex state management scenarios and scale with the application as it grows?
- Integrations & Compatibility with other libraries and tools
- Community support: Is it actively maintained, does it have an active community built around it and is there a lot of people using it)
- Features and capabilities: What features does the library offer, such as time-travel debugging, persistence, or server-side rendering support?
2 Replies
Theo's vid on the topic - https://youtu.be/5-1LM2NySR0
Theo - t3․gg
YouTube
You still use Redux?
Become a member for rare memes:
https://www.youtube.com/channel/UCbRP3c757lWg9M-U7TyEkXA/join Also watch live on twitch https://twitch.tv/theo
React State management is in a crazy place. So many options!!! How do you pick the right one?? Let's chat about it!
Keywords REACTJS REDUX JOTAI ZUSTAND RTK RTK-QUERY REACTQUERY REACT QUERY MOBX XSTATE ...
Yeah I've seen it but it doesn't include most of these options in the comparison 🙂