Reputation: 111
I m using PersistGate, and getting error: Uncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
as I pass a react component inside the loading prop but if I pass null , then working fine.
Below is the sample code piece :
<PersistGate
loading={<Loading />}
onBeforeLift={onBeforeLift}
persistor={persistor}>
<App />
</PersistGate>
How to handle this loading props issue?
Upvotes: 1
Views: 91