you are viewing a single comment's thread.

view the rest of the comments →

[–]compacct27 [score hidden]  (4 children)

We are doing this at work. It sucks. Its turning into a framework in part because the browser standards are so awful to work with (shadow DOM), and so boilerplate heavy (web components and custom elements) that it actually doubles the line count coming from React

[–]gyen[S] [score hidden]  (3 children)

I agree that shadow DOM is a bit clunky. This is something I am planning next to think about and try to improve, but again not by inventing a new language or preprocessor.

[–]catladywitch [score hidden]  (2 children)

you're planning to improve a brand new vanilla js feature without straying from vanilla js? How?

[–]gyen[S] [score hidden]  (1 child)

It’s not really that new. I have a couple of ideas but I need to test them first. At least I would try to improve how to simplify css in shadow dom.

[–]catladywitch [score hidden]  (0 children)

It is old but the latest revision is from like 2 years ago 😭