News for hackers. Stuff that matters.
Re:Why I Write CSS in JavaScript by latronic_notron on Monday February 18, 2019 @12:05PM (#19192123)
> It's not a webpack add-on. It's a part of Vue's templating engine that is essentially CSS-in-JS, they just give you a template to work in.

It's regular CSS in the templates and regular CSS in the frontend. There's no JS involved anywhere, unless you count the tooling, but we already use JS tools for CSS processing (PostCSS).

Scoped CSS is an old HTML5 feature that was dropped in favor of style encapsulation using Shadow DOM/Web Components.

There are no comments on this comment yet.