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 reddit.com/r/reactjs

Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • Scout APM - Less time debugging, more time building
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • JetBrains - Developer Ecosystem Survey 2022
  • 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 Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • 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

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • 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

    A declarative, efficient, and flexible JavaScript library for building 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