Tools/pmndrs/jotai

Jotai

Primitive and flexible state management for React

21.2k+3/wkgrowthTypeScriptMIT Licensenew this week

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Mar 2026

Jotai strips React state management back to the basics: atoms that hold values and update components, nothing more. You create atoms (small pieces of state), use them in components, and React re-renders only what changed. That's it.

Think of atoms like individual useState hooks that any component in your app can read and write to. No providers wrapping your entire app, no boilerplate. You write `const countAtom = atom(0)` and use it anywhere. Derived state is just an atom that reads other atoms.

What makes Jotai different from Zustand (its sibling from the same team): Jotai is bottom-up. You build small atoms and compose them. Zustand is top-down: one store with slices. For apps with lots of independent pieces of state that occasionally depend on each other, Jotai's model clicks faster. Async atoms handle data fetching without extra libraries. Integration with React Suspense works out of the box. TypeScript support is excellent.

The catch: the ecosystem is smaller than Redux or Zustand. If your team already knows Redux, switching saves zero time. And for simple apps, useState plus context is still fine; Jotai shines when you have 20+ pieces of interconnected state.

Free vs Self-Hosted vs Paid

fully free

Free

Fully open source under the MIT license. No paid tier, no cloud service, no premium features. It's a client-side library that runs in the browser.

Cost Breakdown

  • Software cost: $0
  • Bundle size: ~3.9KB gzipped for the core. Minimal impact on your app's performance budget.
  • Infrastructure cost: $0 (runs in the browser)

The Math

Free. The cost is learning time: maybe a day to understand the atom model if you're coming from Redux. The pmndrs team (Poimandres) maintains Jotai, Zustand, and React Three Fiber, so the project isn't going anywhere.

Completely free. MIT licensed, maintained by a prolific open source collective.

Self-hosting ops:trivial

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Similar Tools

Score
86/100 · A
Adoption25/30
Maintenance25/25
Community11/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

High adoption: 21,116 starsActive community: 710 forksPermissive license (MIT)

About

Stars
21,235
Forks
724

Explore Further

More tools in the directory