Simple JSON Stringify Formatting
One liner to easy format JSON
Thu, 06 Oct 2022
Rather than look at the console all the time I find it to be nice to display an objects properties right in the UI where the component rests. This snippet will display the object in a clean format in the UI
<pre><code>{JSON.stringify(DATA, null, 2)}</code></pre>