Closed codepunkt closed 6 years ago
When importing AppContainer directly from react-hot-loader/lib/AppContainer, this is imported:
AppContainer
react-hot-loader/lib/AppContainer
if (!module.hot || process.env.NODE_ENV === 'production') { module.exports = require('./AppContainer.prod'); } else { module.exports = require('./AppContainer.dev'); }
AppContainer.prod is more or less what the prod version of our ReactHotLoader component is. Can the ReactHotLoader component be removed?
AppContainer.prod
ReactHotLoader
Yep, thanks for this @codepunkt
When importing
AppContainer
directly fromreact-hot-loader/lib/AppContainer
, this is imported:AppContainer.prod
is more or less what the prod version of ourReactHotLoader
component is. Can theReactHotLoader
component be removed?