Skip to content

Commit b5f59fc

Browse files
committed
Drop redundant @hot-loader/react-dom package
Hot reloading is already set up correctly in the webpack configuration, so we don't need this package (which keeps React pinned to older versions due to strict peer-dependency constraints and laggging releases). In a future update, maybe we should use Fast Refresh for hot reloading instead (see https://github.com/pmmmwh/react-refresh-webpack-plugin).
1 parent 61bf0ff commit b5f59fc

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
"@babel/preset-env": "^7.13.15",
5656
"@babel/preset-react": "^7.13.13",
5757
"@babel/preset-stage-2": "^7.8.3",
58-
"@hot-loader/react-dom": "^16.14.0",
5958
"@testing-library/jest-dom": "^5.11.10",
6059
"@testing-library/react": "^11.2.6",
6160
"@testing-library/user-event": "^13.1.5",

webpack.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ module.exports = {
1212
},
1313
resolve: {
1414
alias: {
15-
'react-dom': '@hot-loader/react-dom',
1615
'react-lifecycle-visualizer': path.join(__dirname, 'src'),
1716
},
1817
extensions: ['.js', '.jsx']

0 commit comments

Comments
 (0)