Jotai

Primitive and flexible state management for React.

Language: JS/TSCategory: State ManagementFirst released: 2020Created by: Daishi KatoLicense: MIT

Jotai takes an atomic approach to React state management, treating individual pieces of state — atoms — as the fundamental building blocks. Unlike top-down stores, Jotai builds state dependencies bottom-up, automatically tracking which atoms a component reads so that re-renders happen only when relevant state changes. Derived atoms enable computed values that update dynamically without manual wiring. The library integrates deeply with React Suspense for data fetching and works with React Server Components without extra configuration. Jotai requires no providers, context wrappers, or boilerplate setup — you import an atom and use it directly. At a few kilobytes gzipped, it delivers a uniquely simple mental model that scales gracefully from component-level state to global application state.

Links

Key Features

Atomic state modelBottom-up approachSuspense integrationDerived atomsProvider-lessReact Server Components compatibleTiny footprint