Package Exports
- react-props-monitor
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-props-monitor) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-props-monitor
Analysis props in any React app.
Install
yarn add -D react-props-monitor
or
npm install --save-dev react-props-monitor
Usage
import React from 'react';
import initPropsMonitor, { PropsMonitor } from 'react-props-monitor';
initPropsMonitor(React);
/../
render() {
return (
<div>
<Root />
<PropsMonitor />
</div>
);
}
ctrl+i to open a monitor.
Coming soon
- custom error handler
- define and lock props
- forecast for types based on real props in runtime