I have been studying the layout of the reactjs.org website using the inspector and trying to learn how to make my code better.
However I notice that there seems to be excessive “container” divs that have very little style and no content.
I’m wondering if someone knows of a specific reason or can give an example of having “containers within containers within containers” when only the lowest one actually has content. If it’s to separate style concerns couldn’t one container have all the needed style?
See the screenshot for an example of what I mean. The highlighted div in teh inspector and on the page just seems to be nothing but a gray left border line.