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.".
});

Readme

Keywords

none

Package Sidebar

Install

npm i cx-immer

Weekly Downloads

95

Version

22.3.0

License

MIT

Unpacked Size

2.19 kB

Total Files

4

Last publish

Collaborators

  • mstijak
  • codaxy-npmjs