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

Have @connect hoist statics #99

Merged
merged 2 commits into from
Jul 8, 2016
Merged

Have @connect hoist statics #99

merged 2 commits into from
Jul 8, 2016

Conversation

nevir
Copy link
Contributor

@nevir nevir commented Jul 8, 2016

Currently, react-apollo's @connect strips any custom statics from the components it wraps; this'll preserve them, using the same method employed by react-redux.

nevir added 2 commits July 8, 2016 14:06
Currently, `react-apollo`'s `@connect` strips any custom statics from the components it wraps; this'll preserve them, using the [same method employed by `react-redux`](https://github.com/reactjs/react-redux/blob/master/src/components/connect.js#L365)
@apollo-cla
Copy link

@nevir: 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

@nevir this is awesome. Thanks!

@jbaxleyiii jbaxleyiii merged commit 311ef4f into apollographql:master Jul 8, 2016
@stubailo
Copy link
Contributor

stubailo commented Jul 9, 2016

Awesome!

@nevir nevir deleted the hoist-statics branch August 11, 2016 00:50
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.

4 participants