trainline / react-skeletor

Skeleton loading for React
https://trainline.github.io/react-skeletor/
Other
554 stars 27 forks source link

Copy non-react specific statics to decorated component #12

Open SamyPesse opened 6 years ago

SamyPesse commented 6 years ago

Redux and other modules with a React API are using hoist-non-react-statics to copy non-react specific statics to the decorated component.

alex3165 commented 6 years ago

Do you mean static methods are not copied over when using createSkeletonProvider HOC? if so I didn't realise that and would be happy to merge any PR fixing this.