2 ms·
How is performance compared to something like LitElement, which does bare minimum DOM updates in place? Also, does this have any functionality to support data
by colordrops 6y ago
How is performance compared to something like LitElement, which does bare minimum DOM updates in place? Also, does this have any functionality to support data binding? Passing values down a hierarchy of components and injecting them into the DOM is half the battle with web components.
- floatboth 6y agoThe DOM update mechanism is part of lit-html, not LitElement. This thing allows you to plug any rendered in it seems, but the examples all use lit-html.
- Sn0wCoder 6y agoThis is how I am reading the docs also. Not super obvious depending on how familiar you are with Web Components to begin with.
- colordrops 6y agoI was implying LitHTML in my question, but yes, it's pluggable in LitElement. So I'll rephrase, how does it compare to LitHTML?