problem description
in the react project, use react-hot-loader to access some pages and report Cannot reaad property"0" of null after hot replacement.
the environmental background of the problems and what methods you have tried
tried to fix the configuration file for the project. After removing react-hot-loader from babelrc, there will be no error report
.related codes
/ / Please paste the code text below (do not replace the code with pictures)
what result do you expect? What is the error message actually seen?