React state management libraries in 2022

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

Our great sponsors
  • Amplication - open-source Node.js backend code generator
  • Appwrite - The open-source backend cloud platform
  • SurveyJS - A Non-Cloud Alternative to Google Forms that has it all.
  • Sonar - Write Clean JavaScript Code. Always.
  • Mergify - Tired of breaking your main and manually rebasing outdated pull requests?
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • 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/

  • Amplication

    Amplication: open-source Node.js backend code generator. An open-source platform that helps developers build backends without spending time on boilerplate & repetitive coding. Including production-ready GraphQL & REST APIs, DB schema, DTOs, filtering, pagination, RBAC, & 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 oleystack)

    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.

  • Appwrite

    Appwrite - The open-source backend cloud platform. The open-source backend cloud platform for developing Web, Mobile, and Flutter applications. You can set up your backend faster with real-time APIs for authentication, databases, file storage, cloud functions, and much more!

  • 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