Answer the question
In order to leave comments, you need to log in
React Hot Loader: this component is not accepted by Hot Loader?
Hello. I can not understand the warning from React, which is pouring into the console. It seems that all the settings for Hot Loader are specified in Webpack. And there is a check for module.hot, but this warning constantly arises:
React Hot Loader: this component is not accepted by Hot Loader?
Please check is it extracted as a top level class, a function or a variable.
Click below to reveal the source location:
ƒ VisibleTodosList() {
_classCallCheck(this, VisibleTodosList);
return _possibleConstructorReturn(this, (VisibleTodosList.__proto__ || Object.getPrototypeOf(VisibleTodosList)).apply(th…
Project link on GitHub: https://github.com/denis862008/test
Answer the question
In order to leave comments, you need to log in
Use RHL 4+ and forget about these problems.
https://github.com/gaearon/react-hot-loader
https://github.com/gaearon/react-hot-loader/tree/m...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question