Is redux and thunks still used or are there other alternatives for it now?

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

    🐻 Bear necessities for state management in React

  • Zustand is like simplified Redux

  • valtio

    💊 Valtio makes proxy-state simple for React and Vanilla

  • Valtio is like simplified MobX

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

    SurveyJS logo
  • redux-toolkit

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

  • Redux is a solid option (Redux meaning RTK)

  • MobX

    Simple, scalable state management.

  • Valtio is like simplified MobX

  • jotai

    👻 Primitive and flexible state management for React

  • Jotai is like simplified Recoil

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

  • Jotai is like simplified Recoil

  • SWR

    React Hooks for Data Fetching

  • SWR is like a simplified React Query

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

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

  • SWR is like a simplified React Query

  • xstate

    Actor-based state management & orchestration for complex app logic.

  • XState is different, but very good when you need state machines

  • zedux

    :zap: A Molecular State Engine for React

  • Zedux is a new up-and-coming hybrid tool similar to RTK + RTK Query but with atoms

  • nanostores

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

  • Nanostores and Reatom are also great, fast atomic libs

  • reatom

    Reatom - the ultimate state manager

  • Nanostores and Reatom are also great, fast atomic libs

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