react-component-inspector

0.1.0 • Public • Published

NPM version Build Status Dependency Status Code Climate Test Coverage Stories in Ready

React Component Inspector

This add to you components a attribute, with the description of the whole component

WIP

This is a WIP, feel free to explore, open issues, and suggest assertions :)

Installation

Coming soon npm install react-component-inspector

Usage

In your main application file, require and call the module, you'll components will get a _componentInspector attribute with the description of itself

var inspector = require('react-component-inspector');
if (ENV === 'development') inspector();

You probably don't want to call it if you're in production, and better yet, alias the module to nothing with webpack in production.

License

Apache2 ©

Contact Us

For questions or general comments regarding the use of this library, please use our public hipchat room.

If you find any bugs or have a problem while using this library, please open an issue in this repo (and a pull request if you want too :)).

Author

Andrés Sebastián Gracía Scardilli

Package Sidebar

Install

npm i react-component-inspector

Weekly Downloads

0

Version

0.1.0

License

Apache2

Last publish

Collaborators

  • spike886