Parentless
- Modifying the subcomponent without its parent within the <VeltWireframe />
component. (recommended)<VeltWireframe />
and modify it. We do not need to add its parent component or any of its siblings.
Example:
With Parent
- Modifying the subcomponent within the context of its parent within the <VeltWireframe />
component. (not recommended)Parentless
and With Parent
pattern, the With Parent
pattern will override the Parentless
pattern. useVeltInitState()
hook: