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

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • 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.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • 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).

  • 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

  • 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

  • React v18.0

    6 projects | news.ycombinator.com | 29 Mar 2022
  • Importing CSS files in Isomorphic React Components

    1 project | /r/codehunter | 15 Mar 2022
  • Achieving an Organized State in your React App with Overmind (Basic)

    2 projects | dev.to | 5 Feb 2022
  • How to add custom types to a javascript library

    1 project | dev.to | 6 Dec 2021
  • Teaful DevTools Released!

    2 projects | dev.to | 2 Dec 2021

Did you konow that TypeScript is
the 2nd most popular programming language
based on number of metions?