Which state management library should I use?

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

Our great sponsors
  • SurveyJS - A Non-Cloud Alternative to Google Forms that has it all.
  • Amplication - open-source Node.js backend code generator
  • Appwrite - The open-source backend cloud platform
  • Mergify - Updating dependencies is time-consuming.
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Sonar - Write Clean JavaScript Code. Always.
  • zustand

    🐻 Bear necessities for state management in React

    For global state, Zustand or RTK

  • redux-toolkit

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

    For global state, Zustand or RTK

  • SurveyJS

    A Non-Cloud Alternative to Google Forms that has it all.. SurveyJS JavaScript libraries allow you to easily set up a robust form management system fully integrated into your IT infrastructure where users can create and edit multiple dynamic JSON-based forms in a no-code form builder. Learn more now.

  • TanStack Query

    🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.

    For server cache management, React Query or SWR

  • SWR

    React Hooks for Data Fetching

    For server cache management, React Query or SWR

  • jotai

    👻 Primitive and flexible state management for React

    For atoms, Jotai or Zedux

  • zedux

    :zap: A Molecular State Engine for React

    For atoms, Jotai or Zedux

  • signia

    Reactive signals that scale, by tldraw.

    For signals, Signia or Legend State.

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

  • legend-state

    Legend-State is a super fast and powerful state library that enables fine-grained reactivity and easy automatic persistence

    For signals, Signia or Legend State.

  • statux

    ⚛️ The easy state management library for React with Hooks

  • react-hands

    A lightweight, simple and easy to use react state management library purely based on react's built in hooks like useContext and useReducer.

    Oh man I have checked out your library and loved it, and I had also made a similar library: https://github.com/javaScriptKampala/react-hands a last month or so, but now all this time I plan to rewrite all of it to better after digging more into the state management land and learning about what other big players are doing and why, one thing I still don't like about existing solutions though, they don't seem react-ish to a react developer, they seem very abstract and follow wired patterns, so now am like what if we make a library that is doing all the crazy things to manage state efficiently under the hood, but on surface behaves and has a similar pattern to useState or react hooks that to a react dev it feels so natural? And checking out your library, it seems it is what I wanted to create just with a few differences, I got some even interesting ideas on this, so how can we team up?

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