You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Click on "counter" button 3 times (need that component <Test /> unmount and then mount again)
edit content of component at line 37, for example: return <div>asd</div>; => return <div>asd2</div>;
Result:
Can't call "this.forceUpdate" 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 the componentWillUnmount method.
Error in replaceComponent function on @prefresh/core
The text was updated successfully, but these errors were encountered:
Fast and easy reproduce on - https://stackblitz.com/edit/vitejs-vite-xwsarc?file=src%2Fapp.tsx&terminal=dev
Steps to reproduce:
<Test />
unmount and then mount again)return <div>asd</div>;
=>return <div>asd2</div>;
Result:
Can't call "this.forceUpdate" 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 the componentWillUnmount method.
Error in
replaceComponent
function on@prefresh/core
The text was updated successfully, but these errors were encountered: