Document React Hot Loader 3
See original GitHub issueIt features two modes (react-hot-loader/babel and react-hot-loader/webpack), doesn’t hide HMR API (you have to add module.hot.accept call yourself) and has a somewhat different API and setup process.
There’s info in https://github.com/gaearon/react-hot-boilerplate/pull/61 and https://github.com/gaearon/redux-devtools/commit/64f58b7010a1b2a71ad16716eb37ac1031f93915 but we should create good step-by-step docs and update the website too.
This will take a while because it’s not a priority for me. If you want to contribute, you are very welcome! Obviously we can’t release 3.0 without any docs.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:18
- Comments:32 (6 by maintainers)
Top Results From Across the Web
GitHub - gaearon/react-hot-loader
React -Hot-Loader has been your friendly neighbour, living outside of React. But it has been limiting its powers and causing not the greatest...
Read more >Getting Started · React Hot Loader - Dan gaearon
React Hot Loader is a plugin that allows React components to be live reloaded without the loss of state. It works with Webpack...
Read more >react-hot-loader - npm
react -hot-loader. TypeScript icon, indicating that this package has built-in type declarations. 3.1.3 • Public • Published 5 years ago.
Read more >Set up React Hot Loader in 10 minutes - LogRocket Blog
A hot reload to an app will only refresh the files that were changed without losing the application's state. · A live reload...
Read more >Top 5 react-hot-loader Code Examples - Snyk
To help you get started, we've selected a few react-hot-loader examples, based on popular ways it is used in public projects. ; const...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

We need to update this intro.
The new intro would be slightly longer because there is a bit more setup involved. I would split it into several sections:
HotModuleReplacementPluginto development Webpack configWebpackDevServerhot: trueand add its entry pointswebpack-dev-middlewarewebpack-dev-middlewareand its entry pointmodule.hothook to re-render your root componentreact-hot-loader/babeltopluginsreact-hot-loader/webpacktoloadersreact-hot-loader/patchas the first entry pointindex.jsto render<AppContainer>instead of your root component@wmertens I agree, its a bit wet so I’ve been doing something like: