DEV Community


Discussion on: React fetching data before rendering in 2020

greenon profile image
Pramod Vadrevu

Hi, Thanks for this article. I think there is a typo in the above code. It should be dataIsReturned and not dataIsReturn in the componentDidMount() block.

Forem Open with the Forem app