html - DIVitis from React -


i started working @ company use react , noticed html output has ton of unnecessary divs. developers tell me it's necessary react, find hard believe modern framework/library/tool force bad html practices on us. however, can't seem find articles or references on issue online. neccessary wrap div? why can't wrap semantically correct element, p tag or nav, etc.? , finally, acceptable development community?

you can use valid html5 tag in react.js long return single dom node component render method. requirement.

list of supported tags , attributes


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -