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

Fix issue with defaultMemoize and multiple arguments #78

Merged
merged 1 commit into from
Feb 1, 2016
Merged

Fix issue with defaultMemoize and multiple arguments #78

merged 1 commit into from
Feb 1, 2016

Conversation

WadePeterson
Copy link
Contributor

Noticed an issue with defaultMemoize when you pass in an ordered subset of the memoized arguments, it will incorrectly returned the memoized value.

See test for an example (it fails without the argument length check).

ellbee added a commit that referenced this pull request Feb 1, 2016
Fix issue with defaultMemoize and multiple arguments
@ellbee ellbee merged commit aa562f0 into reduxjs:master Feb 1, 2016
@ellbee
Copy link
Collaborator

ellbee commented Feb 1, 2016

Yep, I think you are right, good catch! Thanks for the fix, much appreciated. 👍

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