DEV Community


Discussion on: 5 Canny little tricks for React devs

andrzejchmura profile image
Andrzej Chmura

I love that JSON.stringify() trick, so I often create a helper <Debug> component with custom styles and simply import it whenever I need it. Sometimes it's just easier than using the devtools.

michalhonc profile image
michalhonc Author

Feeling the same. My life is incomplete with just plain <div>Hi</div> :-)