Closed Peter-Win closed 1 year ago
@hot-loader/react-dom is used because the "hot" function (in App.[tj]sx) creates wrappers around components, but React Router gives this error in this case:
Uncaught Error: [ProxyFacade] is not a
Command to check: npm view @hot-loader/react-dom version
A patch has been released that, in development mode, uses the deprecated rendering method in conjunction with version 17 of the @hot-loader/react-dom library.
Support for React 17 has been discontinued.
ERROR in ./src/index.tsx 30:15-42 Module not found: Error: Can't resolve 'react-dom/client' in 'C:\JS\fe-gui-test\src' resolve 'react-dom/client' in 'C:\JS\fe-gui-test\src' C:\JS\fe-gui-test\node_modules\@hot-loader\react-dom\client doesn't exist