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
{{ message }}
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.
I'm using react-hot-loader for preserving component's state on HMR. This seems to work. But on the very first change after initial page load I get this error:
The change itself is applied and also state is preserved. Every further change runs without this error and is applied as well.
but then the feature of preserving state is not and only pure HMR is working.
As you can see on the screenshot am even starting my project and I'm using preact for the first time. So I'm not sure the react-hot-loader is fully operational when I get this error. I hope you can tell me whether subsequent code of the function causing the error matters to preact HMR or you even can provide a workaround/solution for this issue.
Thx,
Stephan
By the way: I'm using Typescript and not Babel. But I don't think this matters at all.
I'm using react-hot-loader for preserving component's state on HMR. This seems to work. But on the very first change after initial page load I get this error:
The change itself is applied and also state is preserved. Every further change runs without this error and is applied as well.
I tried using preact-deep-force-update
but then the feature of preserving state is not and only pure HMR is working.
As you can see on the screenshot am even starting my project and I'm using preact for the first time. So I'm not sure the react-hot-loader is fully operational when I get this error. I hope you can tell me whether subsequent code of the function causing the error matters to preact HMR or you even can provide a workaround/solution for this issue.
Thx,
Stephan
By the way: I'm using Typescript and not Babel. But I don't think this matters at all.
PS: My dependencies are
The text was updated successfully, but these errors were encountered: