1.1.3 • Published 8 years ago

hoist-non-inferno-statics v1.1.3

Weekly downloads
382
License
MIT
Repository
github
Last release
8 years ago

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);