Jotai
Primitive, flexible atomic state management for React — inspired by Recoil but smaller and simpler, with no provider boilerplate.
MIT
TypeScript
Why Jotai?
Fine-grained, atom-level state where components subscribe to minimal slices
You like Recoil's mental model but want a smaller, maintained library
Next.js apps that need React Suspense-compatible async atoms
Signal Breakdown
What drives the Trust Score
Download Trend
Last 12 months
Tradeoffs & Caveats
Know before you commitYou need middleware-rich store (immer, devtools) out of the box — use Zustand
Teams unfamiliar with atomic state patterns — Zustand is easier to onboard
Pricing
Free tier & paid plans
Open source, free to use
Free & open-source
Alternative Tools
Other options worth considering
Minimal, unopinionated React state management — a tiny bear-bones store with a hooks-based API and no boilerplate.
Often Used Together
Complementary tools that pair well with Jotai
Learning Resources
Docs, videos, tutorials, and courses
Get Started
Repository and installation options
View on GitHub
github.com/pmndrs/jotai
npm install jotaiQuick Start
Copy and adapt to get going fast
import { atom, useAtom } from 'jotai';
const countAtom = atom(0);
function Counter() {
const [count, setCount] = useAtom(countAtom);
return <button onClick={() => setCount(c => c + 1)}>{count}</button>;
}Community Notes
Real experiences from developers who've used this tool