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

Errorboundary? #334

Open
taneba opened this issue Apr 5, 2022 · 0 comments
Open

Errorboundary? #334

taneba opened this issue Apr 5, 2022 · 0 comments

Comments

@taneba
Copy link
Owner

taneba commented Apr 5, 2022

Now our code is using React.Suspense throughout our code base. With Suspense, loading ui is Suspense's work. But how about error ui? I used to see some code examples that uses Errorboundary component with suspense before. But as seeing the
React documentation, there aren't any official recommendation or code example that put Suspense and Errorboundary together.
We should investigate more on this but there's one error-boundary library by bvaughn, who is in the core React team.

https://github.com/bvaughn/react-error-boundary

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

No branches or pull requests

1 participant