Hacker News new | ask | show | jobs
by seaneking 4001 days ago
To me this is a bit of a 'baby with the bathwater' scenario. CSS has problems (particularly lack of namespacing), but I don't think the solution is to just pack up shop on stylesheets and port everything to js. If the argument is about logic, then postCSS and manipulating the CSSOM are cleaner approaches IMO. And with web components the modularity concern is pretty much entirely mitigated. There's definitely an argument to be made about javascript's role styling, but I think it should be complimentary alongside the purely declarative stylesheet.