If a web component is not rendering properly, what are some good ways to help debug?

Viewed 160

I have a web component that renders properly when I load the page the first time. However, when I try to render it the second time, it doesn't load at all. What are some good ways to debug lit web components to see why its not loading properly.

What I see in the dom is the following:

<element><div></div></element>

It's missing all the html inside the div.

0 Answers
Related