What to do with HMR #266
GustavEikaas
started this conversation in
General
Replies: 1 comment
-
One seemingly impossible situation is handling the introduction or removal of components introduced by HMR. Removing gridOptions and pressing save triggering HMR, would always fail due to rule of hooks. Not a big issue though |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The current situation is that HMR is broken due to non-idiomatic functions. HMR seems to "seemingly" random pick some functions to re-run. This causes unpredicted and unstable behaviour. Currently we have moved a lot of the code out of "react" code.
There is 2 solutions as I see it.
Beta Was this translation helpful? Give feedback.
All reactions