lit / lit.dev

The Lit website
https://lit.dev
BSD 3-Clause "New" or "Revised" License
115 stars 168 forks source link

[Documentation] How does the `html` tag efficiently render (concepts) #504

Open AndrewJakubowicz opened 2 years ago

AndrewJakubowicz commented 2 years ago

Context

I found it very helpful to read over the concepts section of the legacy lit-html website: https://lit-html.polymer-project.org/guide/concepts

This goes through the concepts of how the html tag uses string literals and expressions with the <template> tag to render efficiently, and then update efficiently.

Do we have a similar section in lit.dev?

Completion criteria (one of):

AndrewJakubowicz commented 2 years ago

Possibly a duplicate of https://github.com/lit/lit.dev/issues/445 ?

aomarks commented 2 years ago

https://github.com/lit/lit/wiki/How-it-Works is a good (though probably slightly outdated now) reference. Would also love an updated and expanded version of it on lit.dev.