deep-update
v1.3.4
Published
react-addons-update except that it will fill in object paths that are missing.
Downloads
41
Keywords
Readme
deep-update
react-addons-update
, except that it will fill in object paths that are missing.
const value = {a: {b: {c: {d: 1234}}}};
// Behold, no error thrown!
const newValue = deepUpdate(value, ['a', 'b', 'c', 'd'], {$set: 2345});