hoist-non-inferno-statics
v1.1.3
Published
Copies non-Inferno specific statics from a child component to a parent component
Downloads
1,413
Readme
hoist-non-inferno-statics
Copies non-Inferno specific statics from a child component to a parent component.
Similar to Object.assign
, but with Inferno static keywords blacklisted from
being overridden.
$ npm install --save hoist-non-inferno-statics
Usage
import hoistNonInfernoStatic from 'hoist-non-inferno-statics';
hoistNonInfernoStatic(targetComponent, sourceComponent);