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: correctly reset react error boundary #394

Merged
merged 1 commit into from
Feb 2, 2025
Merged

Conversation

Charlie-XIAO
Copy link
Contributor

Extracted from #370.

The previous way of rerendering is wrong. We should use resetKeys. Currently I only depended on Component, because I can't see what other items can cause an error.

@Charlie-XIAO Charlie-XIAO merged commit 373a714 into main Feb 2, 2025
11 checks passed
@Charlie-XIAO Charlie-XIAO deleted the fix/error-boundary branch February 2, 2025 22:17
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