The React project starts with an error, as shown below:
The react-devTools extension is installed on the browser. Many people have to disable the react-devTools extension. It works fine, but it just doesn’t feel right. This seems like a bit of a stab in the wrist, so I’ll just skip you.
My personal information, according to the error stack to find node_modules / @ PMMMWH/react – refresh – webpack – the plugin/client/ReactRefreshEntry js the file, find the error code, annotations directly lead to the error of the line:
The react-devTools plugin also loads properly, good job:
This error is also related to the React version, remember that the old version does not seem to have this problem. This approach does not solve the problem at all. If it is a new project, or if you reinstall the dependencies, you still need to manually change the code.
— — — — — — — — the original links: blog.csdn.net/feinifi/art…