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
Retry action? #64
Comments
You could try implement you own discard handler and dispatch an an action here. https://github.com/jevakallio/redux-offline#change-how-irreconcilable-errors-are-detected Or you could use something like redux-obversables or redux-saga to listen for the |
Ah interesting on the listening to |
@Noitidart Maybe it's better to use a middleware for this, as you don't know the action in the subscribe listener. (see reduxjs/redux#1057). If you want to avoid other frameworks, write a middleware which listens for the |
Oo thanks benlime! Thats very interesting. |
Is there a way to get a action dispatched when it is retrying? I want to update my GUI to saying it is going to retry in X sec.
I see this logged to console:
Is there a way to make it dispatch an action at the same time? Like
*_ROLLBACK
and*_COMMIT
?This is an aside, an example of an end goal is:
The text was updated successfully, but these errors were encountered: