fantasticsoul
The responsive state engine Helux's playground has been released
Helux, a react state lib supports both atom arch and deep dependency collection
It is the only one react state library that supports both atom architecture and deep dependency collection currently in the world.
why helux
1 Developed based on the ultra-fast immutable data js library limu, with excellent dependency collection performance
2 No provider is required, access is super simple, and the state is shared mode with 0 cost increase
3 Supports both deep and shallow collection dependency collection strategies
4 Supports features such as share, derive, watch, atom, etc.
5 Derived functions support asynchronous derivation and manual triggering of derived function recalculation.
6 Supports defining new derived results based on derived results to form a directed graph architecture
7 In addition to relying on changes to trigger update components, you can also customize ids to trigger update components.
8 Compatible with react 18
9 Support hot update
10 100% written by ts
here is a online demo: https://codesandbox.io/s/distracted-cloud-2xrvpw
Limu, the fastest immutable data JavaScript lib was borned
//You can verify through the following tests, and you are also welcome to add more performance test cases ```bash git checkout https://github.com/tnfe/limu.git cd benchmark npm i ## Then execute the following commands separately npm run s1 npm run s2 npm run s3 npm run s4 ``` The results of one set of performance tests 
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) 
It is fast, It is nearly more than 2 or 20 times faster than immer in different situations. Click this online perf demo (https://codesandbox.io/s/limu-simple-perf-case-ycky1t?file=/...) to review the amazing result.
See more perf test result 1. git clone [email protected]:tnfe/limu.git 2. cd benchmark 3. npm i 4. node ./limu-vs-immer.js
You can change the params in limu-vs-immer.js file to test perf of different situations
const hasArr = false; // operate arr or not const lessDeepOp = true; // has more deep operation or not
The perf result at macbook 2021 max pro is:
-----------------------[ hasArr true, lessOp true ]------------------- (reuseBase: true, autoFreeze: true) immer 2.797 ms : limu 1.287 ms (reuseBase: false, autoFreeze: true) immer 2.835 ms : limu 1.313 ms (reuseBase: true, autoFreeze: false) immer 2.049 ms : limu 0.089 ms (reuseBase: false, autoFreeze: false) immer 2.096 ms : limu 0.146 ms
-----------------------[ hasArr true, lessOp false ]------------------ (reuseBase: true, autoFreeze: true) immer 2.946 ms : limu 1.268 ms (reuseBase: false, autoFreeze: true) immer 3.005 ms : limu 1.345 ms (reuseBase: true, autoFreeze: false) immer 2.162 ms : limu 0.147 ms (reuseBase: false, autoFreeze: false) immer 2.169 ms : limu 0.161 ms
-----------------------[ hasArr false, lessOp true ]------------------ (reuseBase: true, autoFreeze: true) immer 2.253 ms : limu 0.659 ms (reuseBase: false, autoFreeze: true) immer 2.261 ms : limu 0.705 ms (reuseBase: true, autoFreeze: false) immer 1.472 ms : limu 0.058 ms (reuseBase: false, autoFreeze: false) immer 1.504 ms : limu 0.064 ms
-----------------------[ hasArr false, lessOp true ]------------------ (reuseBase: true, autoFreeze: true) immer 2.086 ms : limu 0.604 ms (reuseBase: false, autoFreeze: true) immer 2.201 ms : limu 0.643 ms (reuseBase: true, autoFreeze: false) immer 1.383 ms : limu 0.022 ms (reuseBase: false, autoFreeze: false) immer 1.42 ms : limu 0.021 ms
Limu, a Fast Immutable Lib
Concent, an efficient state management that tailored for react
Hello Concent, a funny way to develop react app
Hello, concent, hello, composition for react
Compare redux, mobx and concent in depth
Use concent in react, share state easily and enjoy exact update。
Concent V2 released, support dependency collection
Traditional hook vs. concent hook in React
React query list, inspired by Dan Abramov
React Calculator, Powered by Concent
Use Concent, release react hook's maximum energy
Concent online demo updated, challenge vue3 composition API
Concent, born for build large scale and high performance react app
Use concent, power your react
concent is a predictable、zero-cost-use、progressive、high performance's enhanced state management solution for react.multiways to write react code: https://stackblitz.com/edit/cc-4-render-mode renderKey: https://stackblitz.com/edit/concent-render-key lazyDispatch: https://stackblitz.com/edit/concent-lazy-dispatch delayBroadcast: https://stackblitz.com/edit/concent-delay-broadcastwelcome to know...