News for hackers. Stuff that matters.
Re:Ask HN: What do you think of the anti-CSS debate? by seaneking on Monday June 29, 2015 @09:26PM (#9802279)
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.

There are no comments on this comment yet.