immutable-changes

detects changes applied to 2 "immutable" objects, like 2 different redux states

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
immutable-changes
1.0.06 years ago6 years agoMinified + gzip package size for immutable-changes in KB

Readme

Immutable-changes
detects changes applied to 2 "immutable" objects, like 2 different redux states

API

import {detectChanges} from 'immutable-changes';

const state1 = {a, b, c};
const state2 = {...state1, d};

detectChanges(state1, state2) => {d: "created"}

detectChanges will return an object, containing keys of

Licence

MIT