Set up RHL & WHL app is working but without any HL
budarin opened this issue · 2 comments
budarin commented
Description
Try to make ssr & HMR
set up RHL according to the manual
set up webpack hot reloading
app is working but in console there is no any HMR and hot reloading does not work
Expected behavior
expect HMR is working
Actual behavior
HMR is not working
Environment
React Hot Loader version: 4.12.21
Run these commands in the project folder and fill in their results:
node -v
: v14.4.0npm -v
: 6.14.5- 'yarn -v': 1.22.4 - I use it
Then, specify:
- Operating system: any (MacOs, Windows)
- Browser and version: any
Reproducible Demo
theKashey commented
HMR is not only a plugin in webpack config, which just adds HMR related code to the bundle, but a different mode of running server code.
I am not sure how you run webpack, but proper settings to webpackHotMiddleware
or webpackDevMiddleware
could be missing.
budarin commented
@theKashey thanks alot!