DEV Community

Discussion on: Web Components: from zero to hero, part two

Collapse
 
mantou132 profile image
mantou

hi.
When a string is compiled into a dom, how do you establish a connection between the data and the dom?

In other words, when render is called again, how do you update dom?

Collapse
 
tiho2 profile image
tiho2

It is delegated to Lit-html as explained in this tutorial.