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

use hoist-non-react-statics #68

Open
guillaumearm opened this issue Sep 7, 2017 · 1 comment
Open

use hoist-non-react-statics #68

guillaumearm opened this issue Sep 7, 2017 · 1 comment

Comments

@guillaumearm
Copy link

guillaumearm commented Sep 7, 2017

Hi,

Like the react-redux connect() enhancer, I think react-dimensions should hoist all non-react statics properties to ensure enhancers composability.

Would you like a pull request for this ?

Take a look at https://github.com/mridgway/hoist-non-react-statics

I've made a npm module for simplify this : https://www.npmjs.com/package/react-hoc

@jwb
Copy link

jwb commented Nov 11, 2017

Could you explain why this is relevant to this library? I don't see any statics being exposed.

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

No branches or pull requests

2 participants