by o_m · 1y ago · 0 comments
Part of using web components, for me, is that it is just javascript. There is no upgrades or deprecations to think about. Of course those things still exist on the server though, but it is easier to maintain it there.
Native web component APIs don't have the DX that many people expect though, because they are so low-level. Lit provides just that declarative reactivity on top.
In simple scenarios like just dropping it in an html page, codepen, or something like that I really enjoyed it though.