fuhao fuhao - 1 month ago 42
React JSX Question

How to stop getting __webpack_hmr

After webpack build, the application is still trying to get __webpack_hmr

How to stop it?

my project

Answer

You need to remove the following from your webpack entries config.

  1. webpack-hot-middleware/client
  2. react-hot-loader/patch

This will stop triggering the _hmr_ requests.