Explanation on how Redux or React Context could help and picking the best option

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern API for authentication & user identity.
  • Onboard AI - ChatGPT with full context of any GitHub repo.
  • zustand

    🐻 Bear necessities for state management in React

    For example: you can use Zustand only for simple types. If you want to modify objects without large boilerplate you need to use Immer, and this will cause losing types in some cases: https://github.com/pmndrs/zustand/issues/191

  • Recoil

    Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.

    These are not the only two options: Zustand and Recoil are better "in between" choices in terms of complexity, capabilities and overhead.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • jotai

    👻 Primitive and flexible state management for React

    Jotai and Valtio are both also really good. Recently looked at Nanostore as well and has some similarity to Jotai and Recoil.

  • valtio

    💊 Valtio makes proxy-state simple for React and Vanilla

    Jotai and Valtio are both also really good. Recently looked at Nanostore as well and has some similarity to Jotai and Recoil.

  • nanostores

    A tiny (286 bytes) state manager for React/RN/Preact/Vue/Svelte with many atomic tree-shakable stores

    Jotai and Valtio are both also really good. Recently looked at Nanostore as well and has some similarity to Jotai and Recoil.

  • WorkOS

    The modern API for authentication & user identity. 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