Skip to content

Alternatives to Redux

Redux vs React Context

  • Dan Abramov: You might not need redux
  • Redux actually uses React Context behind the scenes
  • Redux should only store JSON serializable stuff
    • Context can store anything like functions and react components

[[react-query]] for server state

Simpler alternatives to Redux for client state

  1. useState
  2. jotai
    1. globals
  3. zustand
    1. creates a store and actions
    2. machine
    3. subscribe to just

Last update: 2023-04-24