Skip to content

An empty React component that doesn't output anything and doesn't update.

License

Notifications You must be signed in to change notification settings

soldotno/react-component-empty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-component-empty

An empty React component that doesn't output anything and doesn't update.

About

Makes it easy to turn off some failing component without making lots of changes to your code.

var FailingComponent = false ? require('failing-component') : require('react-component-empty');
// ...
render: function() {
    return <FailingComponent/>
}

About

An empty React component that doesn't output anything and doesn't update.

Resources

License

Stars

Watchers

Forks

Packages

No packages published