react-dump-simple
v0.0.1
Published
React Dump Simple Component
Downloads
11
Readme
React Dump Simple Component
Sometimes you just want to dump the contents of a value onto the page.
If you want some colorful fanciness - check out react-dump <-- more featureful
But if you want something simple and plain, but still effective (maybe for an internal admin interface)...
import Dump from 'react-dump-simple';
const MyPage = props => (
<div>
Here is something I'm trying to debug:
<Dump value={props.userData} />
</div>
);
const MyComponentDumpsAllProps = props => (<Dump value={props} />);
(this is super simple, but sometimes useful when developing)