Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

fix(shouldComponentUpdate): removed from ApolloProvider #669

Merged
merged 1 commit into from
May 1, 2017

Conversation

FreddieRidell
Copy link
Contributor

@FreddieRidell FreddieRidell commented Apr 30, 2017

Is causing issues when ApolloProvider is used with other Providers (eg: react-router).
shouldComponentUpdate is an unnecessary here, it is used to stop unnecessary updates caused by higher components. But as ApolloProvider should be near the top of the tree, it can be assumed that ALL updates passed to is are necessary.

fixes issue: #557

Is causing issues when ApolloProvider is used with other Providers (eg: react-router).
@apollo-cla
Copy link

@CodogoFreddie: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Meteor Contributor Agreement here: https://contribute.meteor.com/

@jbaxleyiii
Copy link
Contributor

@CodogoFreddie this is a great point! And all the test pass! I'm great with this. Can you update the changelog and I'll merge it in!

@jbaxleyiii
Copy link
Contributor

@CodogoFreddie I'll update it actually so we can do a release! Thanks again!

@jbaxleyiii jbaxleyiii merged commit 5d9f694 into apollographql:master May 1, 2017
@jbaxleyiii jbaxleyiii mentioned this pull request May 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants