react-component-inspector
v0.1.0
Published
An inspector lib for react components.
Downloads
9
Maintainers
Readme
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