Responded to @kasparsd:
Object Spread for Merge 📜 ES2018
const a = { x: 1 };
const b = { y: 2 };
const c = { ...a, ...b };
Merges like magic (shallow copy).
Responded to @kasparsd:
Object Spread for Merge 📜 ES2018
const a = { x: 1 };
const b = { y: 2 };
const c = { ...a, ...b };
Merges like magic (shallow copy).