Why not just use scoped css like Vue? #3905
mursaleemomin
started this conversation in
General
Replies: 1 comment
-
The size & topic of each issue in this repo just adds to the point I'm trying to highlight. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Why reinvent the wheel with a different syntax?
I think people are adopting this approach because "Tagged Template Literals are a new feature in ES6" & everyone wants to use it in one way or another, or they have to get on yet another bandwagon.
At least it kills the JSX's hacky way of writing CSS in JS object form.
CSS is already a realm one can't easily get a grasp on. And on top of that, reinventing different ways to write it is just crazy.
Everything is being wrapped by another wrapper, telling the wrapper would give us more control, and the opposite happens because of the limitations of the written package or the toolings we need to do to make it work.
Beta Was this translation helpful? Give feedback.
All reactions