Hacker News new | ask | show | jobs
by mock-possum 961 days ago
this seems pretty cool - I love me some `lit-html`. How do you feel about Cami versus straight up Lit?
3 comments

I use pure no-build lit for the "interactive islands" the repo describes. Nice to see others have the same idea even if we're not taking the same approach.
You can consider Cami as the light dom sibling of Lit (which uses shadow dom).

Cami loses out on slots & style encapsulation, but you can style Cami components with normal / global css like it’s part of the normal dom. And since there’s no shadow dom overhead, it’s more performant and there is no FOUC if you load CSS in <head>.

I just nope out of the Shadow dom in lit to get external css using createRenderRoot. Mentioned here https://stackoverflow.com/questions/55400222/how-do-you-use-...
Wondering the same thing. What is the value proposition versus using other popular web component libraries like Lit?