Skip to content

gimoteco/deprecated-components

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deprecated-components

Simple ways to deprecate a React component. Currently this lib shows a warning on console

Getting started

with high order components (HOC)

import deprecatedComponents from 'deprecated-components'

const MySampleComponent = () => null

export default deprecatedComponents('some reason to deprecate', MySampleComponent) 

About

A simple HOC allow you to deprecate components

Resources

License

Stars

Watchers

Forks

Packages

No packages published