Hacker News new | ask | show | jobs
by claytongulick 1 day 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.

1 comments

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