3 ms·
Naming conventions seems to be old school now that virtually everything is being done with JS. Using webpack's css-loader changes the game completely as pointe
by at-fates-hands 11y ago
Naming conventions seems to be old school now that virtually everything is being done with JS.
Using webpack's css-loader changes the game completely as pointed out by Mark Dalgleish here:
https://medium.com/seek-ui-engineering/the-end-of-global-css-90d2a4a06284 https://medium.com/seek-ui-engineering/the-end-of-global-css...
Writing maintainable CSS is now encouraged, not by careful adherence to a naming convention, but by style encapsulation during development.
I'm sure there will continue to be more JS solutions to getting rid of CSS naming conventions, since it seems everything is being done with JS these days.
- kevin_thibedeau 11y agoAt which point you no longer have graceful degradation when JS is disabled. Web "designers" need to stop breaking the web with their code spew everywhere ruining the basic functionality of HTML and CSS.
- jackmoore 11y agoSure you can... there is no reason why those JavaScript styles can't be outputted to a css file in your preprocessing step.