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.
Comments
Post a Comment