MenuToggle Menu

Nested Components

You can put a component inside a component. Hence, a nested component means a component inside another component. You can create a new component inside the main component directly, or you can nest a component by putting in an instance of another component. To nest components, you can use any components.

If you nest a component, the nested component would be the child component of the component it's located in. Hence, every child component associated with a parent component is called a nested component.

[object Object]
Back To Top