DEV Community

Discussion on: Never make your text container a flexbox container

Collapse
 
wintercounter profile image
Victor Vincent

It has a major drawback. Using reset the classic way like div, article, section, etc {...} It'll conflict with 3rd party libs. I'm doing this in a React environment where no HTML elements are used in JSX, instead there's a unified component for all that's markup and style, so I can simply set a default for these components. I believe if the web would be introduced today or it'd allow braking changes, flex would be the default.

Some comments have been hidden by the post's author - find out more