Normally you have to put a root element in your template, such as <div id="root"></div>. Then with React/jsx,you render a component (and its subcomponents) into root. That component (when rendered) might look like this <div id="main-wrapper">. The final render will have two roots, one called root and one called main-wrapper. Is there a cleaner way to render with React?
Instead of this:
<div id="root">
<div id="main-wrapper>
<section></section>
<section></section>
. . .
</div>
</div>
Can I do this?
<div id="root">
<section></section>
<section></section>
. . .
</div>