mutative icon indicating copy to clipboard operation
mutative copied to clipboard

Efficient immutable updates, 2-6x faster than naive handcrafted reducer, and more than 10x faster than Immer.

Results 14 mutative issues
Sort by recently updated
recently updated
newest added

As part of an SDK I'm working on I provide a draft version of user provided data structure back to them to be updated. I want to maintain the immutable...

Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.3 to 7.23.7. Release notes Sourced from @​babel/traverse's releases. v7.23.7 (2023-12-29) :bug: Bug Fix babel-traverse #16191 fix: Crash when removing without Program (@​liuxingbaoyu) babel-helpers, babel-plugin-proposal-decorators #16180 fix:...

dependencies

The basic syntax is the same, so when changing from immer to mutative, it is only necessary to replace the import statement. I haven't looked at the source code, but...

After the draft function is executed, if the draft tree has not really changed its values, it should return to its original state. Although Mutative and Immer behave the same...

enhancement

Regarding return values, Mutative has the same behavior as Immer. An draft function returned a new value and modified its draft. Either return a new value or modify the draft....

enhancement

Hello: My team is considering moving to mutative from immer. We would like to know below: 1. Main difference in implementation of state production in mutative than immer, which causes...

Hello. First of all thank you for the library, it works really great! I've just bumped into one issue. In our setup we have iframe & parent window running on...

Feeding class instances to create function causes the following Error, unless they are wrapped with a primitive like it's done in the class benchmark example. `Error: Invalid base state: create()...

This is a proposal https://github.com/tc39/proposal-set-methods to add methods like union and intersection to JavaScript's built-in Set class. It is currently at stage 4: it has been https://github.com/tc39/ecma262/pull/3306. This repository is...

enhancement

Hey there, I hope this is an okay place to ask this question. I was wondering if there was any way to by default enable strict mode globally? I'd like...