# pmndrs/jotai

👻 Primitive and flexible state management for React

Repository: https://github.com/pmndrs/jotai
Canonical: https://ross.abutalabs.com/products/jotai
Homepage: https://jotai.org
Language: TypeScript
License: MIT
License Family: permissive
Topics: react, state, management, atomic, hacktoberfest
Last push: 2026-08-24T08:32:54+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 2213, "days_push": 9, "days_rel": 9, "gap_med": 18, "n_releases_24m": 34}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 21243, forks 724 (observed 2026-08-28T04:11:31.484683+00:00)

## What it is
Jotai is a minimal, atomic state management library for React with a tiny 2kb core API. It lets you compose primitive and derived atoms with automatic render optimization, and scales from a useState replacement to large TypeScript applications.

## Use cases
- manage global state in a react app
- replace useState with shared state
- avoid extra re-renders from react context
- persist state to localStorage
- server-side rendering state hydration in next.js
- derive computed state from other state

## When to choose
- you want a minimal, flexible alternative to Redux or Recoil
- you need fine-grained re-render optimization in React
- you use TypeScript and Next.js or other React frameworks

## When to avoid
- you need state management outside React
- you prefer a single centralized store with devtools conventions

## Facets
- artifact type: library
- maturity: stable
- function: state-management, frontend-framework
- domain: frontend, web-development
- platform: cross-platform
- tags: react, atoms, typescript, ssr, hooks, nodejs, web-server

## Member repositories
- pmndrs/jotai (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:31.484683+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:58:27.726959+00:00, confidence not recorded.
  - readme: https://github.com/pmndrs/jotai (fetched 2026-08-28T04:11:31.484683+00:00, sha 7400fe9147ef)
  - homepage: https://jotai.org (fetched 2026-08-29T07:57:23.404047+00:00, sha d1bc84e263fb)
  - site_page: https://jotai.org/docs (fetched 2026-08-29T07:57:23.407252+00:00, sha fdb0d3bc10ba)
  - site_page: https://jotai.org/docs/core/atom (fetched 2026-08-29T07:57:23.409159+00:00, sha e0acd83c8ad0)
  - site_page: https://jotai.org/docs/core/use-atom (fetched 2026-08-29T07:57:23.411077+00:00, sha 00abf8c426fe)
  - site_page: https://jotai.org/docs/core/store (fetched 2026-08-29T07:57:23.412766+00:00, sha ac72003f743b)
  - site_page: https://jotai.org/docs/core/provider (fetched 2026-08-29T07:57:23.414311+00:00, sha 38ff1a6d6dc9)
  - site_page: https://jotai.org/docs/utilities/storage (fetched 2026-08-29T07:57:23.415922+00:00, sha 1b18226cf721)
  - site_page: https://jotai.org/docs/utilities/ssr (fetched 2026-08-29T07:57:23.417612+00:00, sha 2b22d1a26de3)
  - site_page: https://jotai.org/docs/utilities/async (fetched 2026-08-29T07:57:23.419280+00:00, sha 6adb3ce7f8b6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
