1.3.4 • Published 8 years ago
deep-update v1.3.4
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});