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

createConnect, with configurable shallowEqual #182

Closed
wants to merge 1 commit into from

Conversation

tgriesser
Copy link
Contributor

Similar to createSelectorCreator in reselect, provides createConnect to optionally wrap connect providing a custom implementation of shallowEqual.

@ellbee thoughts? Are there any other functions that might be worth allowing customization of?

@gaearon
Copy link
Contributor

gaearon commented Nov 11, 2015

Seems like an overkill to add new top-level API when we have options.
Why not let user specify options.arePropsEqual?

@tgriesser
Copy link
Contributor Author

Ah yep that'd work too, I thought maybe we were looking to avoid new options :)

Will reopen with that.

@tgriesser tgriesser closed this Nov 11, 2015
@gaearon
Copy link
Contributor

gaearon commented Nov 11, 2015

New options are better than new top-level APIs 😉

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.

None yet

2 participants