Back to gallery
pmndrs/jotai on GitHub — 👻 Primitive and flexible state management for React
pmndrs
Built bypmndrs/

jotai

👻 Primitive and flexible state management for React

Stars
21.2k
Forks
725
Watchers
0
Open issues
1
TypeScriptMIT main Updated 3 months ago~9 stars/day lifetime
Editor's take

Atomic state for React. Different model than Zustand — composable atoms instead of a single store. Better for derived state that updates granularly without re-renders.

Use this if

You have lots of small interconnected state pieces with computed values.

Skip if

You want a simple single store — Zustand is easier.

State Management
Topics
reactstatemanagementatomichacktoberfest
Quick install
# Install via npm / pnpm / bun:
pnpm add jotai
# or
npm install jotai

Inferred from TypeScript · always double-check against the official README below.

Live data via GitHub REST API · Cached 30 min · Created 12 Aug 2020