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

Fixed bug (tests WIP) - return function from selector #34

Merged
merged 1 commit into from Jun 9, 2019

Conversation

Projects
None yet
2 participants
@adamkleingit
Copy link
Collaborator

commented Jun 8, 2019

When selector (or entire store) returns a function, we use it in setLocalCopy, and react treats it as a setter function instead of the actual value.

@adamkleingit adamkleingit requested a review from morsdyce Jun 8, 2019

@morsdyce morsdyce merged commit a1b1eb8 into master Jun 9, 2019

@morsdyce morsdyce deleted the fix_selector_return_function_bug branch Jun 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.