Open mddanishyusuf opened 5 years ago
In Angular it's easy to view JSON object just bind like this.
<pre> {{jsonObject | json}} </pre>
In React You have to stringify first to the JSON object.
<pre> <code> {JSON.stringify(this.state.json, null, 2)} </code> </pre>
How you render JSON object in React. Comment your trick.
In Angular it's easy to view JSON object just bind like this.
In React You have to stringify first to the JSON object.
How you render JSON object in React. Comment your trick.