Our great sponsors
-
mutative
Efficient immutable updates, 2-6x faster than naive handcrafted reducer, and more than 10x faster than Immer.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
The readme explains in more detail: https://github.com/unadlib/mutative#readme
> Immer must have auto-freeze enabled by default(Performance will be worse if auto-freeze is disabled), such immutable state with Immer is not common. In scenarios such as cross-processing, remote data transfer, etc., we have to constantly freeze these immutable data.
> There are more parts that could be improved, such as better type inference, non-intrusive markup, support for more types of immutability, Safer immutability, more edge cases, and so on.
Also compared to native spread operation(naive handcrafted reducer):
> The spread operation has performance pitfalls...
> And Mutative optimization focus on shallow copy optimization, more complete lazy drafts, finalization process optimization, and more.
Related posts
- Mutative – A 10x Faster Alternative to Immer
- 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.
- GitHub - unadlib/mutative: Efficient immutable updates, 10x faster than Immer by default, even faster than naive handcrafted reducer.