optimize-immutable-update
v0.0.4
Published
Optimize immutable updates.
Downloads
2
Readme
optimize-immutable-update
Optimize immutable updates.
- https://stackoverflow.com/questions/41298577/how-to-get-altered-tree-from-immutable-tree-maximising-reuse-of-nodes
- https://stackoverflow.com/questions/71455345/performance-of-programs-using-immutable-objects
Installation
npm install optimize-immutable-update
or
yarn add optimize-immutable-update
Usage
import optimizeImmutableUpdate from 'optimize-immutable-update'
const optimizedNextValue = optimizeImmutableUpdate(prevValue, nextValue)