deepAssign
Object.assign with deep clone
import deepAssign from 'deepassign'
deepAssign({a: {b: 0}}, {a: {b: 1, c: 2}}, {a: {c: 3}});
//=> {a: {b: 1, c: 3}}
object.assign with deep clone
Homepage Repository npm JavaScript Download
npm install deepassign@1.0.2
Object.assign with deep clone
import deepAssign from 'deepassign'
deepAssign({a: {b: 0}}, {a: {b: 1, c: 2}}, {a: {c: 3}});
//=> {a: {b: 1, c: 3}}