ποΈ Installation
Mutative is a npm package that can be used in Node.js and browsers, it is also compatible with TypeScript.
ποΈ Usages
Use create() to create a new state
ποΈ Concepts
Mutative is based on the Proxy, its core concepts are draft and patch.
ποΈ Using Mutative with React
You can use Mutative with React by using the useMutative() hook.
ποΈ Performance
Mutative is a high-performance immutable data structure library, it is up to 2x-6x faster than naive handcrafted reducer and up to 16x faster than Immer.