DEV Community

Discussion on: 5 Canny little tricks for React devs

Collapse
 
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.

Collapse
 
michalhonc profile image
michalhonc

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