deep-update
react-addons-update except that it will fill in object paths that are missing.
Last updated 4 years ago by donvoy .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install deep-update 
SYNC missed versions from official npm registry.

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});

Current Tags

  • 1.3.4                                ...           latest (4 years ago)

5 Versions

  • 1.3.4                                ...           4 years ago
  • 1.2.0                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.5                                ...           4 years ago
  • 1.0.4                                ...           4 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (3)

Copyright 2014 - 2016 © taobao.org |