Implementing useEffect to Rescue 🚨| UsePopcorn Project #4 | Ultimate React Course | Day 48 Part 1
Автор: Dream to be Unique
Загружено: 2024-10-07
Просмотров: 23
Complete react course: In this react course, we will see how to learn React using projects.
This is going to be a project-based course full of real-world react projects. In this video So let's now learn about the next important tool in our toolbox, which is the use effect hook.
So we already know about the use state hook. And so now it's time for our second hook, which is again the use effect hook. So just again, like our data fetching, but the side effects registered with the use effect hook will only be executed after certain renders, for example, only right after the initial render, which is exactly what we are looking for in this situation.
The dependency array is actually the most confusing part of this hook And we will again learn all about this throughout this section. But for now, what you need to do here is to just pass in this empty array, which means that the effect that we just specified here will only run on mount. So it will only run when this app component here renders for the very first time.
Git code link:
https://github.com/ArhumCH10/Ultimate...
Here is the link of complete Playlist:
• Ultimate React js Crash Course for All | C...
"Humans only have intentions and efforts in their hands; success is given by Allah."
Don't forget to subscribe !!! and comment
A 21 year old doing Everything.
I CAN I WILL
Follow me on TikTok:
https://www.tiktok.com/@arhumnaveed8?...
Follow me on Instagram:
https://www.instagram.com/arhum.chaud...
Follow me on LinkedIn:
/ arhum-naveed92

Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: