react-component-empty

2.0.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    0
  • 1.0.1
    73
  • 1.0.0
    1
  • 0.1.0
    1

Package Sidebar

Install

npm i react-component-empty

Weekly Downloads

75

Version

2.0.0

License

MIT

Unpacked Size

2.33 kB

Total Files

4

Last publish

Collaborators

  • misund