Closed EdenSun closed 5 years ago
@EdenSun - sorry, but that's not enough. I have to know when you saw this error (a full error stack), and react-hot-loader
version you use.
For hooks please use latest version (4.12+), and they are absolutely unsupported below version 4.6
@theKashey Thanks for your reply. It works now. I think this issue caused by different version of react-hot-loader in node_modules . I tried to remove node_modules and reinstall the dependences, then it works.
👍
Got below errors when using @hot-loader/react-dom 16.8.6
package.json
I also add alias to webpack config: