Skip to content

The best Zustand alternatives

8 tools that do a similar job to Zustand, 8 of them open source. Each entry says what it does and who it suits, so you can pick the one that fits instead of the most famous.

You're replacing

Zustand

A small React state-management library built on hooks, with no providers needed.

  1. 1

    Redux

    Open source · MIT · ★ 61.4k

    A JavaScript library for keeping an app's shared state predictable and easy to test.

    Best for: Developers building larger front-end apps where many components share the same data; Teams that want state changes to follow a consistent, testable pattern

  2. 2

    Jotai

    Open source · MIT · ★ 21.3k

    A small React state library where you manage state as independent 'atoms'.

    Best for: React developers who want simple shared state without heavy setup; Teams that find a single large store too rigid and want state split into small pieces

  3. 3

    Valtio

    Open source · MIT · ★ 10.2k

    A small state library for React and plain JavaScript where you change state like a normal object.

    Best for: React developers who want simple shared state without a lot of boilerplate; Developers who prefer mutating state directly instead of writing reducers or immutable updates

  4. 4

    TanStack Table

    Open source · MIT · ★ 28.5k

    Headless library for building customizable data tables in TypeScript and JavaScript.

    Best for: Developers building custom data tables in React, Vue, Solid, Svelte or another supported framework; Teams that already have a design system and want a table that matches it

  5. 5

    TanStack Router

    Open source · MIT · ★ 15.3k

    A type-safe router for React and other web UIs, with an optional full-stack framework built on it.

    Best for: React developers who want type-checked routes and URL parameters; Teams building single-page apps that need schema-validated search params

  6. 6

    nuqs

    Open source · MIT · ★ 10.9k

    A React hook that keeps component state in the URL query string, like useState but in the address bar.

    Best for: React developers building filterable, searchable or paginated pages; Teams using Next.js (app or pages router) who want type-safe search params

  7. 7

    SWR

    Open source · MIT · ★ 32.5k

    A React hook library for fetching data, with caching and automatic refresh.

    Best for: React developers who fetch data from APIs in components; Projects that want built-in caching and request deduplication

  8. 8

    useHooks

    Open source · MIT · ★ 11.5k

    A set of ready-made React hooks for common UI and browser tasks, built to be safe on the server.

    Best for: React developers who want ready-made hooks for common browser tasks; Teams building apps with React v18.0.0 or newer

How we pick: tools in the same category that solve the same problem, projects that name each other as alternatives, and open-source projects that describe themselves as an alternative to Zustand. We don't take payment for placement.