22.3.0 • Published 2 years ago
cx-immer v22.3.0
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.".
});
22.3.0
2 years ago