Async Await with React Lifecycle methods
Dale Jefferson
1876

Hi Dale, thanks for the example.

I could be wrong, but I don’t think you need the second await here:

const something = await res.json()

Show your support

Clapping shows how much you appreciated James Gentes’s story.