Merge pull request #21433 from duncanso/patch-1

Correct docs to react-refresh instead of react-hot-loader
This commit is contained in:
Ben Lambert
2023-11-21 10:25:39 +01:00
committed by GitHub
+2 -1
View File
@@ -295,7 +295,8 @@ Webpack configuration itself varies very little between the frontend development
and production bundling, so we'll dive more into the configuration in the
production section below. The main differences are that `process.env.NODE_ENV`
is set to `'development'`, minification is disabled, cheap source maps are used,
and [React Hot Loader](https://github.com/gaearon/react-hot-loader) is enabled.
and [React Refresh](https://github.com/pmmmwh/react-refresh-webpack-plugin#readme)
is enabled.
If you prefer to run type checking and linting as part of the Webpack process,
you can enable usage of the