substitutefor

Contribute to the catalog

Improve Jotai

Help someone find the right substitute. Share what you know, explain its limits, and show your sources.

Keep useful details and sources from the current draft as you make your changes.

Sign in or create an account ↗ to earn credit. You can also submit anonymously and save a private receipt. Contributions go to review before publication.

Your own projects are welcome, and an AI assistant can contribute on your behalf. Describe the project accurately and cite sources. You can submit immediately; no minimum karma or prior reviews are required.

1

Identify the subject

Which product or service are you writing about?

This entry can substitute forOptional

Choose the product this entry can replace. For example, when editing GIMP, choose Photoshop to describe GIMP as a substitute for Photoshop. Use “unknown” if the evidence does not show whether the task is supported; “unsupported” means the evidence shows it cannot do the task.

0 of 200 substitute relationships.

Draft comparisons

These comparisons link to articles by their planned address. Edit them under Structured data.

  • zustand — Shared React client state and derived values
  • redux-toolkit — Shared React client state without requiring Redux action and slice architecture
2

Write & cite

Help readers understand what it does and where it falls short.

Article sections and citations
Sources for the overview

Sources

Reuse throughout the article

Add each source once. Select it under the paragraphs it supports.

Source 1 · Jotai overview

Source 1

Source details

To remove this source, first uncheck its citations.

Source 2 · Jotai atom API

Source 2

Source details

To remove this source, first uncheck its citations.

Source 3 · Jotai Provider

Source 3

Source details

To remove this source, first uncheck its citations.

Source 4 · Jotai store API

Source 4

Source details

To remove this source, first uncheck its citations.

Source 5 · Jotai storage utilities

Source 5

Source details

To remove this source, first uncheck its citations.

Source 6 · Jotai Next.js guide

Source 6

Source details

To remove this source, first uncheck its citations.

Source 7 · Jotai v3 migration

Source 7

Source details

To remove this source, first uncheck its citations.

Source 8 · Jotai 3.0.1 package metadata

Source 8

Source details

To remove this source, first uncheck its citations.

Source 9 · Jotai comparison with Zustand

Source 9

Source details

To remove this source, first uncheck its citations.

Source 10 · Zustand comparison with other tools

Source 10

Source details

To remove this source, first uncheck its citations.

Source 11 · Redux Toolkit introduction

Source 11

Source details

To remove this source, first uncheck its citations.

Article sections

Explain uses, limitations, or compatibility. Give each paragraph the sources that support it.

1 · Building state from atoms

Section 1

Sources for paragraph 1
2 · Store scope and server rendering

Section 2

Sources for paragraph 1
Sources for paragraph 2
3 · Saving selected state

Section 3

Sources for paragraph 1
4 · Version requirements

Section 4

Sources for paragraph 1
5 · When it can substitute for Zustand

Section 5

Linked to Q65. Keep surrounding spaces so the text reads naturally.

Sources for paragraph 1
6 · When it can substitute for Redux Toolkit

Section 6

Linked to redux-toolkit. Keep surrounding spaces so the text reads naturally.

Sources for paragraph 1
Structured data Advanced

For agents and detailed edits, including links within paragraphs. Follow the article schema, or use the API. Applying JSON replaces the body, references, article address, and draft comparisons shown here.

Include up to 200 draft comparisons, preserving the existing sources and relationships when adding more.

3

Add useful details Optional

Add what you know. You can submit without filling these in.

CapabilitiesOptional

Describe a task this product can perform, its limits, and the evidence. Use “unknown” if the evidence does not show whether the task is supported; “unsupported” means the evidence shows it cannot do the task.

Help readers find related options Optional

Have a useful detail to add? Choose a question, give a short answer, and reuse an article source. Skip this section if you prefer.

Which article sources support this answer?
Only saved answers are included. A blank section is fine.
Screenshots Optional

Show the website or a useful part of its interface. Add up to three still PNG, JPEG or WebP images, each up to 5 MiB. Screenshot guidelines ↗

Crop to the relevant screen. Remove personal information, credentials, account balances and private messages. Images keep their stated rights; they are not automatically CC0.

Sign in to upload screenshots. You can submit the article without them.

License, other names & status
Sources for the license or business model
4

Check & submit

Give reviewers a clear summary and a source they can check.

Preview your article

Jotai

Open-source React state management built from composable atoms, with scoped stores and optional browser persistence.

Overview

Jotai is an MIT-licensed state-management library for React applications. It represents shared values as atoms and builds derived state by tracking dependencies between them. It can substitute for a centralized Zustand store when a project prefers independently composed state units, while requiring changes to subscriptions, updates and persistence. Providers can scope the same atom definitions to separate component trees.[1][3][8][9]

Building state from atoms

Primitive atoms hold values such as a selected item, filter or draft field. Derived atoms read other atoms to calculate a value, and writable atoms can coordinate updates. Jotai tracks reads in a derived atom so the dependency graph determines which calculations need updating. This organization can suit an application whose features own small pieces of shared state, rather than requiring every value to live in one application-wide object. Atom definitions are objects with identities: recreating them during every render can cause update loops, so dynamically created definitions need stable references.[1][2]

Store scope and server rendering

Atom definitions do not themselves contain their current values; stores do. A Provider supplies a store to a component subtree, and separate Providers can give the same definitions independent values. This is useful for isolated editor panels or multiple instances of a widget. The store API also exposes get, set and subscription methods for code outside React components. Without a Provider, Jotai uses a default store.[3][4]

Server-rendered applications need deliberate request isolation. The Next.js guide warns that a long-lived default store can share values across requests and recommends a Provider whose lifetime is limited to the request. Moving from a client-only prototype to server rendering therefore involves more than copying the same module-global state setup.[6]

Saving selected state

The optional atomWithStorage utility connects an atom to storage. Its default implementation uses browser localStorage with JSON serialization and listens for storage events between tabs; custom implementations can use other storage. Parsed JSON still needs validation when an application expects a particular shape. Server rendering cannot read the browser's stored values, so an initial server value may differ from the saved client value. The storage guide describes guarding server access and delaying dependent content until the client has hydrated. A persisted preference is useful, but persistence alone does not provide a database or a cross-device synchronization service.[5]

Version requirements

The published 3.0.1 package declares an MIT license. The v3 migration guide specifies React 18, TypeScript 5.5 and Node.js 22.12 or newer where those tools are used. Version 3 supplies ESM builds and restricts package exports to documented entry points. Some formerly bundled utilities moved to separate packages, including atomFamily and the Babel plugins. Existing snippets should be checked against the installed major version, particularly when generated code assumes older utility imports.[7][8]

When it can substitute for Zustand

Jotai can substitute for Zustand for shared React client state when a team prefers composing primitive and derived atoms. Zustand groups values and update actions in stores and commonly uses selectors for subscriptions; Jotai follows atom dependencies. Choosing Jotai can keep a feature's state and derived values close to its components, while Zustand may fit a straightforward module-level store. Migration requires rewriting reads and update operations and checking store scope, derived calculations and persisted data. The overlap does not establish API or middleware compatibility, or guarantee a performance improvement.[3][5][9][10]

When it can substitute for Redux Toolkit

Jotai can also substitute for Redux Toolkit when a React application needs shared client state but its team prefers atom reads and writes over action dispatch and slice reducers. Derived atoms can express relationships among values without organizing them into Redux slices. Existing reducers, selectors and middleware behavior need to be reimplemented or retained separately. Redux Toolkit also includes optional RTK Query for fetching and caching server data; replacing client state with Jotai does not by itself reproduce that cache or its request lifecycle. The decision is about the state model that suits the application, rather than a universal ranking of the libraries.[1][2][11]

References

  1. Jotai overview

    Atomic state, derived values and separate reading/writing hooks

    vendor · retrieved 2026-10-09
  2. Jotai atom API

    Primitive and derived atoms; tracked dependencies; stable object identity

    vendor · retrieved 2026-10-09
  3. Jotai Provider

    Subtree stores, default store and remount reset

    vendor · retrieved 2026-10-09
  4. Jotai store API

    get, set and sub methods outside component hooks

    vendor · retrieved 2026-10-09
  5. Jotai storage utilities

    atomWithStorage, JSON validation, server rendering and hydration

    vendor · retrieved 2026-10-09
  6. Jotai Next.js guide

    Provider lifetime and request isolation

    vendor · retrieved 2026-10-09
  7. Jotai v3 migration

    React, TypeScript and Node requirements; ESM packaging; moved utilities

    vendor · retrieved 2026-10-09
  8. Jotai 3.0.1 package metadata

    Published package license field: MIT; version and engine requirements

    vendor · retrieved 2026-10-09
  9. Jotai comparison with Zustand

    Atom composition versus object stores and module/context organization

    vendor · retrieved 2026-10-09
  10. Zustand comparison with other tools

    Jotai: state model and render optimization

    vendor · retrieved 2026-10-09
  11. Redux Toolkit introduction

    configureStore, createSlice, React Redux bindings and separate optional RTK Query

    vendor · retrieved 2026-10-09
  12. https://jotai.org/docs/basics/comparison

    How Jotai differs from Zustand: atom composition, store organization and use cases.

    assessment · retrieved 2026-10-09
Contribution type

Agree to CC0 above to submit your contribution.