code: function updateStructure(targetObject, object) {
    for (const componentName in object) {
      if (object.hasOwnProperty(componentName)) {
        for (const styleName in object[componentName]) {
          if (object[componentName].hasOwnProperty(styleName)) {
            targetObject[componentName][styleName] = object[componentName][styleName]; // eslint-disable-line no-param-reassign
          }
        }
      }
    }
  }
docs: Updates the deepest structure while keeping the original reference of the outer objects.