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

New middleware action #1

Merged
merged 1 commit into from
May 29, 2017
Merged

New middleware action #1

merged 1 commit into from
May 29, 2017

Conversation

luizguilhermefr
Copy link
Contributor

In order to control incoming requests, it is desirable to have a "fetching" attribute in the redux state.
This way, we could display and remove loading spinners properly.

This PR proposes to have an action before setting the payload state: REDUX_SAGA_LOCATION_ACTION_REQUEST. So, before the success/error actions are dispatched, we have the entire control via fetching param.

@itinance itinance merged commit 2886707 into itinance:master May 29, 2017
@itinance
Copy link
Owner

Thank you very much! Very usefully contribution!

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

Successfully merging this pull request may close these issues.

2 participants