Remix.run Logo
selectnull 7 days ago

Same here.

I have actually wrote a few web components by hand in an environment where I didn't want any external dependencies and when that requirement was dropped I really liked how easy was to convert them to LitElement (and how much nicer it is to work with them).

I also have embraced the shadow DOM which is a default, but I think it's more trouble than it's worth. Now I use LitElement without shadow DOM and it works great as well.

brazukadev 7 days ago | parent [-]

Same about the shadowDOM. The only criticism I have about Lit is that the creators think shadowDOM is amazing and people not liking it are using it wrong. Lit lacks a good direction and someone with vision leading it but it became the technical pet project of a few.

selectnull 7 days ago | parent [-]

The ability to locally scope styles is a great feature of shadow DOM. For that alone I can see why it's being pushed.

It's trivially easy to create Lit components without shadow DOM so I don't really care and use both.