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

Create an error boundary for page-specific errors #31

Open
jerelmiller opened this issue Feb 14, 2023 · 0 comments
Open

Create an error boundary for page-specific errors #31

jerelmiller opened this issue Feb 14, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jerelmiller
Copy link
Member

When an error is thrown on a particular page, the error bubbles up to the root error boundary, which removes all the app chrome.

Screenshot 2023-02-13 at 6 02 34 PM

For a better experience, errors thrown on page renders should only bubble up to the page's nearest <Outlet />. This should allow the app to continue displaying the app's chrome while showing the error message. This will allow the user to navigate to other parts of the app without being completely blocked.

@jerelmiller jerelmiller added the enhancement New feature or request label Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant