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

matthewmueller picture matthewmueller  路  3Comments

kay-is picture kay-is  路  3Comments

adriaanwm picture adriaanwm  路  3Comments

youngwind picture youngwind  路  3Comments

jasongerbes picture jasongerbes  路  3Comments