Hi, I'm rendering the frame component inside a portal (actually 2 iframes inside 2 different portals), and sometimes I get an error and the component unmounts:
Uncaught Invariant Violation: unmountComponentAtNode(...): Target container is not a DOM element.
react-dom.development.js:506 Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
in Reactiifyer (created by App)
in App
package.json:
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-frame": "^2.2.19",
Not really sure what's the cause of the error.
Hi, I'm rendering the frame component inside a portal (actually 2 iframes inside 2 different portals), and sometimes I get an error and the component unmounts:
Uncaught Invariant Violation: unmountComponentAtNode(...): Target container is not a DOM element.package.json:Not really sure what's the cause of the error.