Skip to content

Retry Lazy promise when rejected #15296

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

Closed
wants to merge 1 commit into from
Closed

Conversation

varoot
Copy link

@varoot varoot commented Apr 2, 2019

This solves #14254 by resetting _status on the lazy component if the promise is rejected.
This will cause the promise function to be re-triggered when the lazy component is re-rendered.

@varoot
Copy link
Author

varoot commented Apr 17, 2019

The tests are passing on my machine but it seems to be failing on CircleCI. Does anyone know why?

@leeseean
Copy link

are you kiding us?

@varoot
Copy link
Author

varoot commented Apr 20, 2019

I fixed it now

@Xesenix
Copy link

Xesenix commented Oct 6, 2019

And what if someone wants to display message like there is connection problem with button that when you click retries?

@stale
Copy link

stale bot commented Jan 9, 2020

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution.

@stale stale bot added the Resolution: Stale Automatically closed due to inactivity label Jan 9, 2020
@stale
Copy link

stale bot commented Jan 16, 2020

Closing this pull request after a prolonged period of inactivity. If this issue is still present in the latest release, please ask for this pull request to be reopened. Thank you!

@stale stale bot closed this Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Resolution: Stale Automatically closed due to inactivity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants