Most React state libraries ask you to design one big global store up front. Jotai takes the opposite approach: state is made of small pieces called atoms, and you combine them as you need them. If you know React's useState, you already know most of Jotai.
An atom is just a piece of state you can use anywhere:
import { atom, useAtom } from "jotai"; const countAtom = atom(0); function Counter() { const [count, setCount] = useAtom(countAtom); return <button onClick={() => setCount(count + 1)}>{count}</button>; } That is it. No providers to wrap your app in, no reducers, no actions. Any component that uses the atom reads the same value, and only components that use a particular atom re-render when it changes — which keeps your app fast without you thinking about it.
Atoms can also depend on other atoms. A derived atom reads other atoms and computes a value:
const doubledAtom = atom((get) => get(countAtom) * 2); When countAtom changes, doubledAtom updates automatically. This pattern covers most of what people reach for a state library for: shared form values, a theme toggle, a cart count, or a filter that several components need to see.
Jotai is for you if you like React's mental model and want global state without the boilerplate of a store. It is tiny, TypeScript-friendly, and it works well alongside useState — you do not have to move all your state into it at once.
But know its limits. Because atoms are so flexible, a large app can end up with atoms scattered everywhere and no obvious structure. Jotai also has fewer built-in tools than bigger libraries, so things like persistence or devtools need extra packages.
Start today: install jotai, move one piece of state that two components currently share — a theme or a search filter is a good first one — into an atom, and delete the prop drilling that used to carry it.