store
A beautifully-simple framework-agnostic modern state management library. (by fabiospampinato)
valtio
π Valtio makes proxy-state simple for React and Vanilla (by pmndrs)
Our great sponsors
store | valtio | |
---|---|---|
1 | 47 | |
226 | 8,406 | |
- | 2.5% | |
3.6 | 7.9 | |
almost 2 years ago | 12 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
store
Posts with mentions or reviews of store.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-14.
valtio
Posts with mentions or reviews of valtio.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-05.
- 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.
-
What is being used right now for ioc/state-managment?
I'm switching from redux-saga to valtio (https://github.com/pmndrs/valtio) for now. It's simple and easy to use, everything's great so far.
-
Ask HN: What is your favorite front end state management solution?
I like valtio, works w/ React or just js. Has subscribe, derive, and more.
-
Explanation on how Redux or React Context could help and picking the best option
Jotai and Valtio are both also really good. Recently looked at Nanostore as well and has some similarity to Jotai and Recoil.
-
Notes on LiveView Components and JS interactions
Since we want the React component to react to an external change, using a state manager makes this easy. We will use Valtio here by example. For this library, change the esbuild config to --target=es2020 instead to remove some warnings (for example, the Zustand library is ok).
What are some alternatives?
When comparing store and valtio you can also consider the following projects:
NanoRPCProxy - A relay, limiter, token and protection system for Nano node RPC & websocket interface
redux - A JS library for predictable global state management
reatom - Reatom - the ultimate state manager
MobX - Simple, scalable state management.
notable - The Markdown-based note-taking app that doesn't suck.
zustand - π» Bear necessities for state management in React
reventlou - Personal db information management system.
Immer - Create the next immutable state by mutating the current one
jotai - π» Primitive and flexible state management for React
sveltio - Proxy-state with valtio.
leva - π React-first components GUI