valtio
zustand

valtio | zustand | |
---|---|---|
52 | 283 | |
9,584 | 52,294 | |
1.1% | 2.1% | |
8.9 | 9.2 | |
7 days ago | 3 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.
zustand
-
Effective Patterns for Shared State Management in React
When Redux feels heavy, modern libraries like Zustand or Jotai offer minimalist APIs with zero boilerplate.
-
# ๐๏ธ Dolab โ A Lightweight Data-Fetching Hook with Zustand Superpowers โก
Managing API calls and shared data in React doesn't have to be a hassle. Dolab simplifies this process with a clean, reusable hook powered by Zustand. It's lightweight, fast, and designed for modern frontend development.
-
Why Zustand suceed in the React state management war?
And here we come to Zustand.
-
๐ React Patterns: Essential Tips and Tricks for Developers
Zustand: https://github.com/pmndrs/zustand
-
Building Modern React Apps in 2025 - A Guide to Cutting-Edge Tools and Tech Stacks
TanStack Query Zustand Jotai Context API
-
React + AI Stack for 2025
For client-side state, Zustand is the way to go. It's got zero boilerplate, a tiny bundle size, and a simple but powerful API that's easy to learn. You can create a store with just a few lines of code, which is pretty neat.
-
My 2025 Tech Stack: Tools & Tech I'm Using This Year
Zustand + Immer. I never used a state management tool because React context API was enough for me until I discovered Zustand last year. It's a simpler and straightforward alternative to Redux.
-
Share My Incorrect Usage Cases of Zustand
Zustand is a simple and easy-to-use state management library.
-
Lessons Learned: Overusing useMemo in React
State Management with Zustand: Zustand offers a lightweight and intuitive approach to managing shared state, reducing the need for derived state or excessive memoization. It simplifies managing and updating global state without extra boilerplate.
-
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.
What are some alternatives?
MobX - Simple, scalable state management.
TanStack Query - ๐ค Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.
redux - A JS library for predictable global state management
react-query - ๐ค Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]
jotai - ๐ป Primitive and flexible state management for React
