Preact X: https://codesandbox.io/s/vn9z29096l
React: https://codesandbox.io/s/2xmq294rjj
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!
Most helpful comment
I though about this edge case when I saw this line, checking for
_component!=nullprobably fixes this issue.