Trouble with Fetch in React with CORS

Posted by Prem Tiwari | Updated on

You should convert the fetch response first with .json(). It returns a promise, so you can use it this way:

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers