cx-immer

22.3.0 • Public • Published

cx-immer

This package allows simple integration of Immer into CxJS stores.

import { enableImmerMutate } from "cx-immer";

enableImmerMutate();

...

store.mutate("item", item => {
    item.description = "Look, properties can be freely mutated without cloning parent objects first.".
});

Dependents (0)

Package Sidebar

Install

npm i cx-immer

Weekly Downloads

41

Version

22.3.0

License

MIT

Unpacked Size

2.19 kB

Total Files

4

Last publish

Collaborators

  • mstijak
  • codaxy-npmjs