Preact: Hoisted/memoized component VNodes without DOM elements should handle all edge cases with unmounting

Created on 5 Mar 2019  路  3Comments  路  Source: preactjs/preact

Most helpful comment

I though about this edge case when I saw this line, checking for _component!=null probably fixes this issue.

All 3 comments

Thinking I may have broken this.

I though about this edge case when I saw this line, checking for _component!=null probably fixes this issue.

Thanks - I was staring at it and hadn't yet come to the same conclusion!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rajaraodv picture rajaraodv  路  3Comments

kossnocorp picture kossnocorp  路  3Comments

jescalan picture jescalan  路  3Comments

youngwind picture youngwind  路  3Comments

k15a picture k15a  路  3Comments