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

Swap ErrorBondary and Suspense #378

Closed
mwskwong opened this issue May 21, 2024 · 0 comments
Closed

Swap ErrorBondary and Suspense #378

mwskwong opened this issue May 21, 2024 · 0 comments
Assignees
Labels
bug Something isn't working priority: high

Comments

@mwskwong
Copy link
Owner

Currently, the following is unable to circuit-break the application when Views failed to connect to the DB.

Swap the position of ErrorBondary and Suspense. i.e.

<ErrorBoundary>
  <Suspense>
    <Views />
  </Suspense>
</ErrorBoundary>
@mwskwong mwskwong added bug Something isn't working priority: high labels May 21, 2024
@mwskwong mwskwong self-assigned this May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: high
Projects
None yet
Development

No branches or pull requests

1 participant