limu
High performance immutable lib alternative to immer with the same api, based on shallow copy on read and mark modified on write mechanism. (by tnfe)
concent
A reactive atomic state engine for React like. (by heluxjs)
Our great sponsors
limu | concent | |
---|---|---|
8 | 7 | |
201 | 1,288 | |
8.5% | 2.2% | |
8.2 | 9.7 | |
about 2 months ago | about 1 month ago | |
JavaScript | 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.
limu
Posts with mentions or reviews of limu.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-01-06.
-
Focusing on optimization, surpassing immer, limu finally reaches the top of immutable data performance
limu is designed for modern browsers. It only considers the operating environment that supports Proxy and uses the mechanism of shallow copy on read and mark update on write. This allows users to operate variable data like original data. During the operation, only proxy objects are generated for the read nodes and returned to the user. After reading, the parent and child nodes are directly connected with shallow clone nodes. The proxy object is hidden in the meta data of the node. , after the operation is completed, a new data with structural sharing characteristics is generated, and the meta data generated during the reading process is removed.
-
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
Strongly recommend trying [limu](https://github.com/tnfe/limu),it is now the fastest immutable data js lib,and it is also production environment available.
//You can verify through the following tests, and you are also welcome to add more performance test cases
-
The sword refers to immer, the faster and stronger immutable data js tool limu stable version released!
Welcome to understand and pay attention to limu, visit documentation and right-click to bring up the console, you can ** Real-time experience **limu api and immer api for comparison (limu and immer objects are bound globally).
-
Limu, a Fast Immutable Lib
You are very welcome to submit your test to the benchmark directory of limu git repo
limu 🍋
concent
Posts with mentions or reviews of concent.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-01-06.
-
Focusing on optimization, surpassing immer, limu finally reaches the top of immutable data performance
helux A state engine that integrates atom, signal, and dependency tracking, and supports fine-grained response updates
- Helux, a react state lib supports both atom arch and deep dependency collection
-
The sword refers to immer, the faster and stronger immutable data js tool limu stable version released!
At the end of 2021, I started to conceive the v3 version of the state library concent, one of the key points is to support deep dependency collection (v2 only supports the first collection of state One-layer read dependency), then you need to use Proxy to complete this action in depth, and use immer in depth to find that viewing drafts in debug mode is very frustrating, and you need to use JSON.parse(JSON.stringify(draft)) to complete, although it was later discovered that the current interface can export a draft copy and view the data structure, but it really annoys me to insert extra current and then erase it at compile time, and current itself has a lot of problems Overhead, plus the following similar performance problems of immer found through issue
-
Limu, a Fast Immutable Lib
Why is Limu born? Because I plan to release concent V3 next year, I need a more advanced immutable data JS operation tool, so Limu was born
- Concent – State management tailored for React
-
Help ssr, use concent to add some material to the nextjs application
Open source is not easy, thank you for your support, ❤ star concent^_^