Skip to content

Conversation

alanshaw
Copy link

This PR alters bufferActions.js to not disable the buffer until all actions in the queue are dispatched.

The issue I had was that whilst the buffer was being purged, the dispatched actions in the queue were causing other actions to be dispatched by other parts of the code (like in componentDidMount). Since buffer = false had already been set, these actions passed through the bufferActions middleware and got dispatched and reduced before the buffer had finished emptying - causing them to be incorrectly ordered.

resolves #67

@alanshaw
Copy link
Author

alanshaw commented Feb 1, 2017

Hi @elgerlambert any thoughts on this one? Could we get it merged and published?

@alanshaw
Copy link
Author

alanshaw commented Feb 7, 2017

@elgerlambert ping?

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.

1 participant