Skip to content

Commit

Permalink
fix: hot module reload for react app throwing exception (#517)
Browse files Browse the repository at this point in the history
refer to github issue: facebook/create-react-app#11771
  • Loading branch information
chenhuang444 authored and targeral committed Jun 10, 2022
1 parent ae5a9db commit 92b079e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/dry-goats-press.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@modern-js/hmr-client": patch
---

revert 'react-error-overlay' to a stable version
2 changes: 1 addition & 1 deletion packages/server/hmr-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"dependencies": {
"@babel/runtime": "^7",
"@modern-js/utils": "workspace:^1.1.6",
"react-error-overlay": "^6.0.9",
"react-error-overlay": "6.0.9",
"strip-ansi": "^7.0.0",
"url": "^0.11.0"
},
Expand Down
10 changes: 8 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 92b079e

Please sign in to comment.