gaearon / gaearon/react-hot-loader
How about not having hot in production at all?
Open
- Dominant language
- JavaScript
- Stars
- 12.2k
- Forks
- 775
- PR merge metrics
- No merged PRs in 30d
Description
I'm wondering if there is anything wrong with doing this:
```js
let App = Hi
if (module.hot) {
App = require('react-hot-loader/root').hot(App)
}
export default App
```
I think this does the same as what is proposed in the readme, and it is marginally more efficient after dead code removal.
Contributor guide
Assessment
This issue has not been assessed yet.