Prettyprints ReactElements and their children
var React = require('react');
var inspectReactElement = require('inspect-react-element');
console.log(inspectReactElement(React.createElement('div'))); // outputs '<div />'
Prettyprints ReactElements and their children
Prettyprints ReactElements and their children
var React = require('react');
var inspectReactElement = require('inspect-react-element');
console.log(inspectReactElement(React.createElement('div'))); // outputs '<div />'
Prettyprints ReactElements and their children
MIT License