3 ms·
1. Some frameworks (Angular, old React) require a "component" to be have host element. 2. It can sometimes be helpful to group/ungroup elements for responsive
by paulddraper 7y ago
1. Some frameworks (Angular, old React) require a "component" to be have host element.
2. It can sometimes be helpful to group/ungroup elements for responsive layouts.
3. It can be difficult to create semantic HTML (if you care about that sort of thing), because the structure in fact places a huge role in the display.