@cjulian/debug-react

A React component that outputs a value stringified and preformatted.

Usage no npm install needed!

<script type="module">
  import cjulianDebugReact from 'https://cdn.skypack.dev/@cjulian/debug-react';
</script>

README

@cjulian/debug-react

A React component that outputs a value stringified and preformatted.

installation

npm install @cjulian/debug-react

usage

import Debug from '@cjulian/debug-react';

const myObject = { foo: 'bar', baz: 'bat'};
<Debug value={myObject} />