Our great sponsors
|5 days ago||9 days ago|
|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.
Why is it so difficult to modify a deeply nested state in React?
6 projects | reddit.com/r/reactjs | 29 Jun 2021
Nice one, really! https://github.com/artalar/reatom
Why is building a UI in Rust so hard?
6 projects | reddit.com/r/rust | 17 Feb 2023
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.
2 projects | dev.to | 30 Jan 2023
What is being used right now for ioc/state-managment?
3 projects | reddit.com/r/reactjs | 2 Jan 2023
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?
12 projects | news.ycombinator.com | 25 Dec 2022
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
6 projects | reddit.com/r/webdev | 27 Oct 2022
Jotai and Valtio are both also really good. Recently looked at Nanostore as well and has some similarity to Jotai and Recoil.
No-build TODO app using HTM + Preact
10 projects | dev.to | 4 Jun 2022
The state can be manipulated outside the React/Preact lifecycle too using vanilla JS. Persisting the app state to localStorage is also trivial.
React state management libraries in 2022
8 projects | reddit.com/r/reactjs | 18 May 2022
Have you looked at Valtio at all? Same author as zustand.
[Tutorial] Building a realtime multiplayer game using React & Conflict-free Replicated Data Types (CRDT) of Yjs.
If you want to use Yjs in your app, I highly suggest you use Valtio for state management, which has support for Yjs synchronization. Or if you want to use just Yjs for state, there is immer-yjs that gives you mutable semantics over immutable one of Yjs.
4 projects | reddit.com/r/SideProject | 3 Mar 2022
Solid.js feels like what I always wanted React to be
17 projects | news.ycombinator.com | 28 Feb 2022
"UI state knows what its dependencies are automatically and only updates when they change" - you should check out [valtio](https://github.com/pmndrs/valtio).
What are some alternatives?
MobX - Simple, scalable state management.
zustand - 🐻 Bear necessities for state management in React
jotai - 👻 Primitive and flexible state management for React
Immer - Create the next immutable state by mutating the current one
leva - 🌋 React-first components GUI
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.
rtk-query - Data fetching and caching addon for Redux Toolkit
solid-start - SolidStart, the Solid app framework
react-redux - Official React bindings for Redux
will-this-react-global-state-work-in-concurrent-mode - Test tearing and branching in React concurrent rendering
redux-toolkit - The official, opinionated, batteries-included toolset for efficient Redux development