Skip to content

Commit cd613c1

Browse files
chenhuang444targeral
authored andcommitted
fix: hot module reload for react app throwing exception (#517)
refer to github issue: facebook/create-react-app#11771
1 parent 889938c commit cd613c1

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

.changeset/dry-goats-press.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@modern-js/hmr-client": patch
3+
---
4+
5+
revert 'react-error-overlay' to a stable version

packages/server/hmr-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"dependencies": {
3838
"@babel/runtime": "^7",
3939
"@modern-js/utils": "workspace:^1.1.6",
40-
"react-error-overlay": "^6.0.9",
40+
"react-error-overlay": "6.0.9",
4141
"strip-ansi": "^7.0.0",
4242
"url": "^0.11.0"
4343
},

pnpm-lock.yaml

Lines changed: 8 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)