3 ms·
Separation content and style works perfectly well. Just people never bother to learn neither HTML nor CSS and rely on some generated monstrosity, be it generate
by rimliu 4y ago
Separation content and style works perfectly well. Just people never bother to learn neither HTML nor CSS and rely on some generated monstrosity, be it generated by WP or React.
- michaelcampbell 4y agoIt works for me mostly only theoretically. When I have to apply it at scale I run into the practical problems that people mention here; 1 big namespace, mostly.
- emmacharp 4y agoDo you mean conflicts or spillovers? Because, as I said elsewhere in the thread, I think (maybe wrongly) that simple linting could rid you of the vast majority of these problems. But, please, if you mean something else, do comment! I very much like this discussion.
- michaelcampbell 4y agoFor me I meant coming up with a name that semantically describes this area of the HTML, that I haven't already used.
- emmacharp 4y agoWell, don't you already name component file after it? Maybe I still misunderstand...