Simple ways to deprecate a React component. Currently this lib shows a warning on console
import deprecatedComponents from 'deprecated-components'
const MySampleComponent = () => null
export default deprecatedComponents('some reason to deprecate', MySampleComponent)