Skip to content

Copies non-Inferno specific statics from a child component to a parent component

License

Notifications You must be signed in to change notification settings

infernojs/hoist-non-inferno-statics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Copies non-Inferno specific statics from a child component to a parent component

Resources

License

Stars

Watchers

Forks

Packages

No packages published