hoist-non-react-statics
$ npm install --save hoist-non-react-staticsUsage
import hoistNonReactStatics from 'hoist-non-react-statics';
hoistNonReactStatics(targetComponent, sourceComponent);hoistNonReactStatics(targetComponent, sourceComponent, { myStatic: true, myOtherStatic: true });What does this module do?
Compatible React Versions
hoist-non-react-statics Version
Compatible React Version
Browser Support
License
Last updated