unnecessary-react-render
v1.1.1
Published
React Transform that prints if a render was unnecessary
Downloads
1
Maintainers
Readme
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"
}]
}]
]
}