What's best practice for managing state without Redux?

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

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • reactn

    Discontinued React, but with built-in global state management.

    Look into ReactN which uses hooks, has lower overhead, no boilerplate, and is much easier to use and learn than Redux.

  • zustand

    🐻 Bear necessities for state management in React

    Zustand is a lightweight state management tool that I would use over context for small apps with little server state.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

  • hookstate

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

    I've never understood why Hookstate (https://hookstate.js.org/) doesn't get more love. It's super-simple (no boilerplate), modern (hook-based), performant (works great for all size apps) and even works outside of components beautifully. It's somewhat similar to context, but more robust and feature-rich (because it's a true state management solution, which context really isn't meant to be). It's basically the only way I've done state in React for a couple of years now and I wouldn't trade it for the world.

  • blacksheepcode

    blacksheepcode.com

    I recommend accessing your state via a hook..

  • storecle

    A neat app state management and action orchestration for React and Solid.

    I've been using context + useReducer and over time I ended up developing this little lib: https://github.com/gluecodes/storecle Not sayin, it's ideal but maybe you'll find it useful as I do.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

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