digidem / react-dimensions

[Looking for maintainers]

Home Page:http://lab.digital-democracy.org/react-dimensions/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

use hoist-non-react-statics

guillaumearm opened this issue · comments

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

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