🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

react-transform-render-visualizer

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-transform-render-visualizer

Render visualizer for ReactJS

0.1.0
Source
npm
Version published
Weekly downloads
234
-34.08%
Maintainers
1
Weekly downloads
 
Created
Source

react-transform-render-visualizer

A React Transform equivalent to React Render Visualizer

Installation

First, install the Babel plugin:

npm install --save-dev babel-plugin-react-transform

Then, install the transform:

npm install --save-dev react-transform-render-visualizer

Then edit your .babelrc to include extra.babel-plugin-react-transform.
It must be an array of the transforms you want to use:

{
  "stage": 0,
  "plugins": [
    "react-transform"
  ],
  "extra": {
    // must be defined and be an array
    "react-transform": [{
      "target": "react-transform-render-visualizer"
    }]
  }
}

This transform has no effect when process.env.NODE_ENV is set to 'production'.

Usage

Components will show up with a blue border box when monitored.

License

MIT

This heavily relied on react-render-visualizer for inspiration, and their license is available at LICENSE

Keywords

react-transform

FAQs

Package last updated on 16 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts