I updated some npm packages in my Gatsby project and now I\'m seeing this warning in console:
React-hot-loader: react-
In short - React-Hot-Loader is something that "might not work". It has a lot of problems and limitations.
"hot-patch" was created to (first) support new React features, and (second) make it more stable.
It's the only our(ok, mine) hope to mitigate the major problems RHL has, and tracked as "version 5" - https://github.com/gaearon/react-hot-loader/milestone/3
hot-loader/react-dom
is not a "third party" lib - it's the same react-dom
with some patches applied to dev mode
only (you might check build scripts).
It just moves some dark magic, RHL uses to work, inside react, and actually removes it. RHL == black magic. RHL + patch == twice less magic.