Honestly, what is the best, pain-free state management in React right now?

This page summarizes the projects mentioned and recommended in the original post on /r/reactjs

Our great sponsors
  • Appwrite - The open-source backend cloud platform
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • redux-toolkit

    The official, opinionated, batteries-included toolset for efficient Redux development

    I would actually be very interested in having you at try out that new "listener middleware" and give us some feedback on how it compares with using sagas. I'm not asking you to go rewrite your whole app :) But our goal has been to replace maybe 75% of the things that users could do with sagas, and so I'm really curious to see if we've managed to accomplish that goal.

  • zustand

    🐻 Bear necessities for state management in React

    That being said, I recently used Zustand for two bigger apps and I have to admit it's amazing. Performance is pretty neat (so far) and the state is already quite complex, but still greatly managable (and expandable).

  • Appwrite

    Appwrite - The open-source backend cloud platform. Add Auth, Databases, Functions, and Storage to your product and build any application at any scale while using your preferred coding languages and tools.

  • educe.js

    React state management library

    You can have a look at mine :) educe.js

  • saga-query

    Data synchronization using a middleware system for front-end apps

    Redux + saga-query

  • mobx-react

    Um, hello, MobX? You don't have to like it but it has 6x the weekly downloads as Recoil does, so it should at least be mentioned.

  • react-easy-state

    Simple React state management. Made with ❤️ and ES6 Proxies.

    Nope, react-easy-state is much easier: https://github.com/RisingStack/react-easy-state

  • effector-react

    Business logic with ease ☄️

    EffectorJS

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • rfcs

    RFCs for changes to React (by reactjs)

    To be clear: this is not a made up problem. There is a React RFC on the topic since June 2019, there is an experimental PR to the React codebase for this since January 2021. There are external packages like use-context-selector to work around it. As of today, there is no efficient way of partially subscribing to context value changes that is a native part of React.

  • React

    The library for web and native user interfaces.

    To be clear: this is not a made up problem. There is a React RFC on the topic since June 2019, there is an experimental PR to the React codebase for this since January 2021. There are external packages like use-context-selector to work around it. As of today, there is no efficient way of partially subscribing to context value changes that is a native part of React.

  • use-context-selector

    React useContextSelector hook in userland

    To be clear: this is not a made up problem. There is a React RFC on the topic since June 2019, there is an experimental PR to the React codebase for this since January 2021. There are external packages like use-context-selector to work around it. As of today, there is no efficient way of partially subscribing to context value changes that is a native part of React.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts