unnecessary-react-render

1.1.1 • Public • Published

unnecessary-react-render

Log unnecessary component rendering

Usage

There's no point in using this transform. It doesn't do anything! That being said, you can use it by updating your .babelrc file to look like the following. Your much fancier transform will also require something like this.

{
  "presets": [
    "react"
  ],
  "plugins": [
    ["react-transform", {
      "transforms": [{
        "transform": "unnecessary-react-render"
      }]
    }]
  ]
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.1
    1
  • 1.1.0
    0

Package Sidebar

Install

npm i unnecessary-react-render

Weekly Downloads

1

Version

1.1.1

License

ISC

Last publish

Collaborators

  • chrislaughlin