zedux
MobX
zedux | MobX | |
---|---|---|
11 | 45 | |
315 | 27,211 | |
0.6% | 0.2% | |
7.2 | 8.0 | |
6 days ago | 5 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.
zedux
-
Thoughts on Signals?
Atomic libs include Recoil, Jotai, and the one I maintain: Zedux. Zedux especially was designed to work well with sockets and RxJS observables and has been getting some traction recently, so of course I recommend checking it out. Feel free to hmu with any questions.
-
Scalability: the Lost Level of React State Management
This new tool started driving our production apps in early 2021 and has been a lifesaver in the extremes of complexity. 2 years later, we have finally open-sourced this tool as "Zedux".
-
Dependency injection into RTK Query createApi?
Zedux is a hybrid tool similar to RTK + RTKQ but with first-class DI support.
-
Which state management library should I use?
For atoms, Jotai or Zedux
-
Is redux and thunks still used or are there other alternatives for it now?
Zedux is a new up-and-coming hybrid tool similar to RTK + RTK Query but with atoms
-
Moving from Context to Redux help!
Atomic libraries like Recoil, Jotai, and Zedux specialize in expressing these dependencies clearly, giving you insight into your dependency graph and offering tools like evaluation tracing, time travel, and DI overrides to improve testability and discoverability of your code.
-
What pattern to use for getting data from public API, saving it to DB and serve it on frontend from the DB
I'd recommend a powerful state management library for something like this, especially one that gives you full control over async flow outside React. Here's a codesandbox using Zedux to demonstrate sending 4 buffered requests per minute.
-
Redux or React Context api?
After Zustand, if you need anything more, I'd either go back to Redux or learn Jotai, an atomic library that's a little more powerful than Zustand. Atoms are a little more advanced, so I wouldn't start there. Though (full disclosure) I am the author of another atomic library that is aiming to make atoms simpler to learn and use. Someday we'll get there, but for now I'd say Zustand is the best place to start.
-
Faster re-rending of table when only inserts are needed
Source: I'm the creator of Zedux, a lib that we just publicly released a few days ago and drives lots of highly-volatile state like this in our apps. If you need a powerful state manager designed to work at scale with fast-moving state streamed over websockets (SSEs work too), it might be worth looking into. Cheers!
-
Zedux open-sourced
GitHub
MobX
-
Getting started with TiniJS framework
States can also be organized in some central places (aka. stores). You can use Tini Store (very simple, ~50 lines) or other state management solutions such as MobX, TinyX, ...
-
Episode 24/13: Native Signals, Details on Angular/Wiz, Alan Agius on the Angular CLI
Similarly to Promises/A+, this effort focuses on aligning the JavaScript ecosystem. If this alignment is successful, then a standard could emerge, based on that experience. Several framework authors are collaborating here on a common model which could back their reactivity core. The current draft is based on design input from the authors/maintainers of Angular, Bubble, Ember, FAST, MobX, Preact, Qwik, RxJS, Solid, Starbeam, Svelte, Vue, Wiz, and moreβ¦
- 5 Alternatives to Redux for React State Management
-
Redux 101
MobX
-
React State Management in 2024
Mutable-based: leverages proxy to create mutable data sources which can be directly written to or reactively read from. Candidates in this group are MobX and Valtio.
-
Show HN: Cami.js β A No Build, Web Component Based Reactive Framework
Looks good! FWIW I always felt the observable pattern much more intuitive than the redux/reducer style. Something like https://mobx.js.org/
Things get hairy in both, but redux pattern feels so ridiculously ceremonially to effectively manage a huge global state object with a false sense of "purity".
Observables otoh say "fuck it, I'm mutating everything, do what you want with it".
-
State Management Alternatives: Best Tools for React Apps
MobX Documentation
-
React native for Linux app development in 2023
There's also others libraries like https://github.com/mobxjs/mobx which aren't specific to RN but can be used in any JS environment.
-
Is redux and thunks still used or are there other alternatives for it now?
Valtio is like simplified MobX
-
What is React State Management?
Link: https://mobx.js.org
What are some alternatives?
jotai - π» Primitive and flexible state management for React
zustand - π» Bear necessities for state management in React
reatom - Reatom - the ultimate state manager
RxJS - A reactive programming library for JavaScript
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.
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.
staff-holiday-tracker
riverpod - A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.
valtio - π Valtio makes proxy-state simple for React and Vanilla
legend-state - Legend-State is a super fast and powerful state library that enables fine-grained reactivity and easy automatic persistence
Cycle.js - A functional and reactive JavaScript framework for predictable code