3 ms·
You should really check out lit-html[1]. It's not a framework like this README claims. It just renders template with template literals, but it does so with mini
by spankalee 2y ago
You should really check out lit-html[1]. It's not a framework like this README claims. It just renders template with template literals, but it does so with minimal DOM updates and safely. And it has a number of features for declaratively adding event handlers, setting properties, and dealing with lists.
[1]: https://lit.dev/docs/libraries/standalone-templates/ https://lit.dev/docs/libraries/standalone-templates/