-
Notifications
You must be signed in to change notification settings - Fork 11
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
Duplicate _pendingID issue #14
Comments
What's your idea? At a quick glance I was thinking we could put that id in the store as action creators can call |
Let me think about your idea. My idea is basically set the default pending
|
That would work too. I wonder if it'd be better to be able to specify a field that's unique for On 21 May 2016 at 11:34, Bhoomit [email protected] wrote:
|
Yes, I think that would be a better implementation. |
I'm using redux-localstorage to retain store state between page refreshes. In which case ActionCreators will get "reinitialize" and the default _pendingID will reset to 0. Because of this I have duplicate pending ids in the redux store and it causes the issue in getting the latest state from the store.
I have a quick fix for this. But I want to get your opinion on this issue.
The text was updated successfully, but these errors were encountered: