Show the whole current ‘state’ with React - JSON.Stringify

Posted 2 years ago
  
    {JSON.stringify(this.state, null, 4)}
  

Read more on JSON.stringify here


{
    "success": false,
    "message": {},
    "firstname": "",
    "surname": "",
    "tel": "",
    "email": "",
    "contact_message": ""
}