Cannot read property 'insertBefore' of undefined when using Suspense
and lazy
#3149
Closed
1 task done
Suspense
and lazy
#3149
Describe the bug
Cannot read property 'insertBefore' of undefined
when usingSuspense
andlazy
. Reason beingoriginalParent
is undefined inSuspense
'sremoveOriginal
functionWorks if checks
originalParent
before callinginsertBefore
on itTo Reproduce
If possible, please provide a CodeSandbox/Codepen that demonstrates the issue. You can use the following template: https://codesandbox.io/s/immutable-grass-ziq4b?file=/src/index.js
Steps to reproduce the behavior:
In codesandbox
Expected behavior
No error
The text was updated successfully, but these errors were encountered: