Comment by claytongulick

2 days ago

Try keeping them in the light dom.

Everything works like normal html + css, but you get all the benefits of reusability and encapsulated script logic.

Lit-html (the library, not the framework) gives this approach super rendering speed too.

At what point does a library start being a framework and when does the distinction matter to the end user?