Open theKashey opened 5 years ago
React-Hot-Loader is a dev-time tool, but it requires some configuration steps. That's not cool.
hot-loader/react-dom
hot-loader/react
react-hot-loader/root
ReactDOM.render
hot
Now RHL could be injected to the app without any code changes - just rewire react-dom and add webpack/babel plugin.
injected
react-dom
Is this feature going to help removing the import and call of hot function in root component?
@otakustay - production mode of babel plugin could remove hot calls today.
React-Hot-Loader is a dev-time tool, but it requires some configuration steps. That's not cool.
Idea
hot-loader/react-dom
andhot-loader/react
. Including their versions as a webpack plugins for RHL.react-hot-loader/root
intohot-loader/react-dom
ReactDOM.render
withhot
Now RHL could be
injected
to the app without any code changes - just rewirereact-dom
and add webpack/babel plugin.