0.3.3 • Published 4 years ago

react-dump v0.3.3

Weekly downloads
6
License
MIT
Repository
github
Last release
4 years ago

react-dump

NPM

A visual debugging component for React. Outputs any variable in an easy to read format based on ColdFusion's CFDUMP tag.

Better than console.log (recurses fully). Less complex than React Developer Tools. Sometimes visualizing a complex object makes it easier to think about. For example, <ReactDump obj={user} /> might yield:

Reactdump example

Inspired in part by Andrew Hewitt's nodedump

Install

sudo npm install react-dump --save-dev

Usage

Import to your component:

import {Dump} from 'react-dump';

Include within your component's render() method, passing the object and optional arguments

<Dump obj={user} />

License

MIT

Contributing

Pull requests welcome with accompanying tests

0.3.2

4 years ago

0.3.3

4 years ago

0.3.1

4 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.11

7 years ago

0.1.10

7 years ago

0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.0

7 years ago