What is lit-html?

Definitionlit-html is a lightweight JavaScript templating library from Google's Polymer Project that renders HTML templates and efficiently updates only the parts of a page that change.

lit-html uses standard JavaScript tagged template literals to describe HTML, so it needs no special compiler or virtual DOM. When data changes, it updates only the dynamic values in a template instead of re-rendering everything. It is the rendering engine of Lit, Google's library for building fast, lightweight web components, and it can also be used on its own to render parts of a page.

lit-html resources

Topic: Web development

Cite this definition
APA

What is lit-html? (2026, November 22). Glossary. https://glossary.io/lit-html/

MLA

“What Is lit-html?” Glossary, Coywolf, 22 Nov. 2026, glossary.io/lit-html/.

Chicago

“What Is lit-html?” Glossary. Coywolf. November 22, 2026. https://glossary.io/lit-html/.

HTML link
<a href="https://glossary.io/lit-html/">What is lit-html?</a>

Published