Repository navigation
Replies: 1 comment
|
Closing in favor of the canonical custom-fetch proposal, being implemented in PR #15586. The proposed Retry policies should respect The implementation PR is still open; follow #15461/#15586 for progress. Authored by an AI agent on behalf of @brophdawg11 |
Uh oh!
There was an error while loading. Please reload this page.
This proposal aims to provide a built-in way to enable retries for Router loaders, specially useful for unstable network conditions, providing a better user experience
Proposal
Add a new
retryproperty to the following methods:The retry property can also be a function:
Event if the load fails, if there's a one more attempt to be done, the "state" will continue as "loading". Only after all attempts fail, the ErrorBoundary will be rendered.
All reactions