use-optimistic-reducer
mutative
use-optimistic-reducer | mutative | |
---|---|---|
1 | 15 | |
19 | 1,466 | |
- | - | |
0.0 | 8.8 | |
over 1 year ago | 2 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.
use-optimistic-reducer
mutative
- Mutative: Efficient immutable updates, more than 10x faster than Immer
-
Mutative 1.0 – A New Era in Efficient Immutable Updates
The readme explains how Mutative achieves better performance over Immer: https://github.com/unadlib/mutative#readme
-
Immer VS mutative - a user suggested alternative
2 projects | 25 Jan 2024
Efficient immutable updates, 2-6x faster than naive handcrafted reducer, and more than 10x faster than Immer.
-
How to build high-performance front-end applications based on multi-processing
High Performance Based on Mutative: Mutative is faster than the naive handcrafted reducer and 10x faster than Immer. Updates to immutable data based on Mutative also maintain good performance. The patches obtained from the shared state update are used for state synchronization.
- Mutative – A 10x Faster Alternative to Immer
-
Deep Cloning Objects in JavaScript, the Modern Way
for those recommending Immer, check out Mutative or Limu instead (much faster)
https://github.com/unadlib/mutative
https://github.com/tnfe/limu
-
Limu, the fastest immutable data JavaScript lib was borned
![image](https://github.com/unadlib/mutative/assets/7334950/2520b8e9-...)
At the same time, the number of single test cases has increased to 500+, with a coverage rate of '95+' (the results can be viewed by executing NPM run tests in the root directory)
- Mutative: production-ready version coming soon, it provides the fastest immutable data updates.
- Mutative: Efficient immutable JavaScript updates, 10x faster than Immer
- GitHub - unadlib/mutative: Efficient immutable updates, 10x faster than Immer by default, even faster than naive handcrafted reducer.
What are some alternatives?
useEffectReducer - useReducer + useEffect = useEffectReducer
limu - High performance immutable lib alternative to immer with the same api, based on shallow copy on read and mark modified on write mechanism.
SWR - React Hooks for Data Fetching
nstate - A simple but powerful react state management library with low mind burden
redux-dynamic-modules - Modularize Redux by dynamically loading reducers and middlewares.
redux-toolkit - The official, opinionated, batteries-included toolset for efficient Redux development
cow-list - Copy-On-Write iterable list
riux - 📦 Fully typed and immutable store made on top of Immer with mutation, action, subscription and validation!
data-transport - A simple and responsible universal transport
monocle-ts - Functional optics: a (partial) porting of Scala monocle
proposal-deep-path-properties-for-re
LJSON - JSON extended with pure functions.