I have most of the data (list) stored in the state that I want to print on my page in response.
I tried -
<div>{JSON.stringify(myObject)}</div>
and
<div>{myObject.toString()}</div>
tostring does not work, but I thought I would give it a shot. I'm not sure how to do this, I know if I was in angular, I could store the object in the $ scope variable and just {{myVar}} on the page to render the object. Is there a way to do this quickly? Thanks
source share