A Container is an HTML element that contains 0 or more
It acts as the target for
Creating a Container
To create a Container in a React component, add a
data-mid prop to any DOM element, such as a
The value of the
data-mid prop must be a literal string value.
It cannot be a dynamic value or a variable reference.
Note: Composite components, such as a class or function, cannot be used as a Container.
Extending a Container
magento-loader-layout supports the following operations:
- Remove a container
- Remove a child component in a container
- Insert content before a child component in a container
- Insert content after a child component in a container