hoist-non-inferno-statics
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i hoist-non-inferno-statics

Weekly Downloads

341

Version

1.1.3

License

MIT

Last publish

Collaborators

  • lukesheard
  • trueadm