Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 409 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 409 Bytes

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