ReactJS: Fetching Data With The useEffect Hook and Fetch API

preview_player
Показать описание
In this tutorial, we are going to learn how we can use the useEffect hook, in order to Fetch data with the fetch API
Рекомендации по теме
Комментарии
Автор

never stop teaching mate, You are awesome.

mhassankhan
Автор

This was what I need. Short and plain explanation. Thank you, it was really helpful!

viktoriatoth
Автор

excellent way of explaining the concept in simple, understandable and clear way.thanks

Abawtes
Автор

Such a simple explanation of useEffect hook.
Awesome, NoobCoder!

abhinav.sharma
Автор

Thanks for the nice tutorial, exactly what I was looking for.

flibben
Автор

That's great explanation for useEffect.

Burak-pwdf
Автор

Thanks for the lesson. Simple and Direct

kah_xamankulo
Автор

after fetching api with useEffect when i reload the page on the browser. there is an error like,
the initial state of the post is [ ] (a blank array).
useEffect is call after the render. so the setPost can change the state later.
and map function on a blank array is not possible.

RahulSharma-phzn
Автор

kindly zoom into the code/console next time.

touseefibnkhaleel