react-component-empty

v0.1.0
An empty React component that doesn't output anything and doesn't update.
react react-component null empty

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/>
}

Metadata

  • MIT
  • Whatever
  • Just Thomas Misund
  • released 2/27/2015

Downloads

Maintainers