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

Remove dispatcher state copy. #209

Closed
wants to merge 2 commits into from
Closed

Conversation

quazzie
Copy link

@quazzie quazzie commented Jul 3, 2015

Why does the dispatcher have a copy of the state ?
I ran into a problem where the dispatcher state was out of sync (old) and my store was overwritten to a previous state.

I couldn't really figure out why, but only having state in redux solved the problem.

Why does the dispatcher keep a local state ?
I run into trouble when the dispatcher had an outdated version of the state.
Couldn't really figure out why. But when i only use the state in Redux it works.
@gaearon
Copy link
Contributor

gaearon commented Jul 3, 2015

Thanks!
This is already fixed in #195 so I'm closing.

@gaearon gaearon closed this Jul 3, 2015
@quazzie quazzie deleted the quazzie-patch-1 branch July 3, 2015 15:24
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