Mar 30, 2021
you are correct. I didn’t need to do this inside this example as it’s offline.
But, in real-life scenarios, you will have to call some remote data source to fetch data. In those cases, this useEffect
will help to make that call.
you are correct. I didn’t need to do this inside this example as it’s offline.
But, in real-life scenarios, you will have to call some remote data source to fetch data. In those cases, this useEffect
will help to make that call.
Software Engineer | ReactJS | NodeJS | AWS - https://www.mdfaisal.com/