React state management libraries in 2022

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
  • SonarQube - Static code analysis for 29 languages.
  • JetBrains - Developer Ecosystem Survey 2022
  • Scout APM - Less time debugging, more time building
  • zustand

    🐻 Bear necessities for state management in React

    There are many and I like Zustand

  • effector-react

    Business logic with ease ☄️

    https://ngneat.github.io/elf/ https://effector.dev/

  • 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!

  • thin-backend

    🔥 Thin Backend is a Blazing Fast, Universal Web App Backend for Making Realtime Single Page Apps

    Another way to deal with global state is by making everything realtime using tools like thin.dev. When all data is realtime you're basically using the actual database as the state store. When using tools like zustand or redux you will always replicate a subset of the database schema on the client side. Using realtime data everywhere with thin.dev can save a lot of this boilerplate :)

  • hookstate

    The simple but very powerful and incredibly fast state management for React that is based on hooks

    I have been using Hookstate, curiously aanbidt never mentioned in lists like this.

  • reactn

    React, but with built-in global state management.

    I love ReactN.

  • state

    🚀 Tiny and powerful React hook-based state management library. (by bit-about)

    I’ve used almost all libs you mentioned, and then created my own https://github.com/bit-about/state . I use it on my newest projects and fills all my needs :3

  • valtio

    💊 Valtio makes proxy-state simple for React and Vanilla

    Have you looked at Valtio at all? Same author as zustand.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • unstated-next

    200 bytes to never think about React state management libraries ever again

    I'm still using unstated-next, its another straightforward one that extends useContext

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