packages/js-toolkit/abstracts/Base/components.js
/**
 * Mount or updte children components of the given instance.
 *
 * @param {Base} instance The parent component's instance.
 * @return {void}
 */
Mount or updte children components of the given instance.
@param {Base} instance The parent component's instance.
@return {void}
Mount or updte children components of the given instance . @param { Base } instance The parent component ' s instance . @return { void }
function mountOrUpdateComponents(instance) {
  if (__DEV__) {
    debug(instance, 'mountComponents', instance.$children);
  }
  Object.values(instance.$children).forEach(($child) => {
    $child.forEach(mountOrUpdateComponent);
  });
}
function mountOrUpdateComponents ( instance ) { if ( __DEV__ ) { debug ( instance , 'mountComponents' , instance . $children ) ; } Object . values ( instance . $children ) . forEach ( ( $child ) => { $child . forEach ( mountOrUpdateComponent ) ; } ) ; }
Mount or updte children components of the given instance.
Mount or updte children components of the given instance .