Combine Objects with Object.assign and Lodash merge

Damon Bauer
InstructorDamon Bauer

Share this video with your friends

Send Tweet

Learn how to use Object.assign to combine multiple objects together. This pattern is helpful when writing libraries that have a set of default options where you want to allow a user to override specific options. You'll also learn how to use a third party library to recursively merge nested objects together.