Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ignorable errors should not affect react refresh #603

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

xiaoxiaojx
Copy link

What kind of change does this PR introduce?
perf: 一些无关紧要的错误应该被忽略,比如 error-overlay 这里对没有错误堆栈的 error 有 if 条件判断拦截,故不会通过弹窗的形式透出给用户。
而热更新 hotDevClient 这里没有上面的 if 条件判断拦截,导致用户感知不到错误发生的情况下页面直接 location.reload 而不是 ReactRefresh 热更新

Did you add tests(unit,e2e) for your changes?
no

Does this PR introduce a breaking change?
no

What needs to be documented once your changes are merged?
no

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant