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

[Suggestion]: Add example for retry with the use hook and an error boundary #6666

Open
fabb opened this issue Feb 28, 2024 · 0 comments
Open

Comments

@fabb
Copy link

fabb commented Feb 28, 2024

Summary

We often want to provide a "retry" button in the error state of the error boundary. An example how to combine this with the use hook would be very helpful.

Page

https://react.dev/reference/react/use#dealing-with-rejected-promises

Details

In the ex

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

No branches or pull requests

1 participant