valtio
jotai
valtio | jotai | |
---|---|---|
52 | 120 | |
9,664 | 20,079 | |
1.2% | 1.1% | |
8.8 | 9.3 | |
28 days ago | 23 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
valtio
-
Show HN: Aberdeen – An elegant approach to reactive UIs
Oh.. yeah, the proxy part does look really familiar! :-)
Also, their use of promises looks interesting: https://github.com/pmndrs/valtio?tab=readme-ov-file#suspend-... -- I might borrow some ideas from that... :-)
-
Creating a library for both React and Vue 🤝
I explored libraries like Valtio and Mitosis, but neither fit perfectly. I didn’t want to add a peer dependency for Valtio, and Mitosis didn’t work well with a shared context.
-
React v19 has been released
The people behind Jotai also made Zustand and Valtio:
https://github.com/pmndrs/zustand
https://github.com/pmndrs/valtio
To me it feels like Jotai has too much manual boilerplate and Valtio has a lot of "magic" that while I do like it I don't feel like it would be a good idea for a team. Zustand sits right in the middle of boilerplate-vs-magic, and is what I chose for a large project we're doing now.
-
Supabase uses Valtio for its state management
As I was reading the Supabase source code for “fun”, I came across a package named Valtio.
- 5 Alternatives to Redux for React State Management
- How to properly structure a valtio shared state object?
-
Changelog #0023 — 🛠️ Internal refactoring and improvements
We took inspiration from the many frameworks we worked with throughout our careers. And maybe surprisingly, Django’s ORM layer impacted our design choices and the API quite a bit. The resulting framework relies on Zod for schemas and validation and Valtio for React integration.
-
Is redux and thunks still used or are there other alternatives for it now?
Valtio is like simplified MobX
-
Why is building a UI in Rust so hard?
Even simpler than Zustand are state-atom libraries like jotai or recoil, or proxy based ones like valtio. Here's some discussion about the differences.
-
How to implement state management inside a simple JavaScript app
There is a package developed around this proxy concept called Valtio which is available for JavaScript, React, and so on... feel free to check and star it on Github.
jotai
-
Effective Patterns for Shared State Management in React
When Redux feels heavy, modern libraries like Zustand or Jotai offer minimalist APIs with zero boilerplate.
-
Jotai usage in Docmost, an open-source alternative to Confluence and Notion.
I picked the above content from Jotai website.
-
React 19, Waku, and the use of Server Actions to fetch data once on the Client side
If we want to use React 19, one of the best options is to use Waku. It's a lightweight framework made by the author of Jotai.
-
Modern State Management Libraries for React: A Comparative Guide
Jotai is a lightweight and flexible solution that fits naturally into the React paradigm.
-
Building Modern React Apps in 2025 - A Guide to Cutting-Edge Tools and Tech Stacks
TanStack Query Zustand Jotai Context API
-
17 Tips from a Senior React Developer
You don't need Redux or Jotai right away.
-
Discover the Latest React Ecosystem Trends and Innovations in 2025
Jotai State Management
-
WTF Is Reactivity !?
Note that this kind of reactivity isn't exclusive to the "PUSH-PULL" model. Fine-grained reactivity refers to the precise tracking of system dependencies. So, there are PUSH and PULL reactivity models which also work in this way (I'm thinking about Jotai or Recoil.
- How Jotai Was Born
-
Managing State in React
Atomic state management solutions, like Recoil or Jotai, break down state into small, reusable units called atoms. It's reducing unnecessary re-renders by allowing components to subscribe only to the specific pieces of state they need. When a state update occurs, only the components that depend on that particular atom will re-render, rather than triggering a re-render of the entire component tree or large sections of it. It's so easy and comfortable to user, I remember the first time I used it I thought to myself "Wow! that's the way it should be done!" basically if you understood react's useState hook you'll understand how to use these libraries.
What are some alternatives?
MobX - Simple, scalable state management.
nanostores - A tiny (286 bytes) state manager for React/RN/Preact/Vue/Svelte with many atomic tree-shakable stores
redux - A JS library for predictable global state management
Recoil - Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.