[lit-html/development] parentNode is null #3634
-
In single page applications, in development mode, when I navigate away from a page where I've used a Lit Web Component, I get this error: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Turns out my problem was the other way around: my cleanup function cleaned up too much. I had an unnecessary nullification, and when I removed it the problem went away. |
Beta Was this translation helpful? Give feedback.
Turns out my problem was the other way around: my cleanup function cleaned up too much. I had an unnecessary nullification, and when I removed it the problem went away.