
About Jotai
Jotai is an open source state management library for React that builds state from small units called atoms. Components update only when the atoms they read change.
What it does
You define primitive atoms for single values and derived atoms that compute from other atoms. Components read atoms with hooks that feel similar to useState, and the library tracks dependencies so only affected components re-render. It works with React 18 and later, supports the use hook in React 19, and has a store interface that can run outside React.
Key features
- Primitive and derived atoms
- Renders tied to atom dependencies
- Store API for use outside React
- Utilities and extensions for common needs
- TypeScript support
Who it's for
React developers who want to manage a small piece of state at a time instead of one large store. It can start as a useState replacement and grow into a larger app, according to its docs.
Pricing and good to know
Jotai is free and open source under the MIT license. It requires React 18 or later and Node.js 22.12.0 or later for development, and TypeScript 5.5 or later if you use TypeScript. Atom code can be spread across many files, so agree on a folder pattern early.
Highlights
- Primitive and derived atoms
- Components re-render only for atoms they read
- Store API that works outside React
- Utilities and extensions for common needs
- TypeScript support for atoms and hooks












