Тёмный

#26: React States: What is useState Hook & Why we need it in React 

Thapa Technical
Подписаться 672 тыс.
Просмотров 1,7 тыс.
50% 1

In React, state refers to an object that holds data or information about the component. State is managed within the component (just like variables declared in a function). However, unlike regular variables, when state changes, React re-renders the component to reflect these changes, keeping the user interface in sync with the data.
A Hook is a special function that lets you “hook into” React features. For example, useState is a Hook that lets you add React state to function components.
👉 Source code & PPT access Free: github.com/thapatechnical/rea...
👉 Here is the Complete Playlist: • React 19 Tutorials in ...
-------------------------------------------------------------------------
Videos to Watch before learning ReactJS 👇
🔥🚀 Watch Best HTML Course 👉 • HTML Complete Tutorial...
🔥🚀 Watch Best CSS Course 👉 • Complete CSS Tutorial ...
⭐️ JavaScript Basics Course Part 1: • JavaScript Full Course...
⭐️ JavaScript Advanced Course Part 2: • JavaScript Advanced fu...
-------------------------------------------------------
👉 Source code & PPT access Free: www.thapatechnical.com/2024/0...
👉 Watch React.js History in 10min: • React.js History in 10...
📢Get all my RU-vid Videos Source Code at only 199₹ : thapatechnical.shop/source-code
📢Get your premium complete ecommerce website source code at no cost (Free) :👉www.thapatechnical.com/2024/0...
-----------------------------------------------------
✌️ Become Member, get access to perks, free Source code, & more..
/ @thapatechnical
🚀 Check my Instagram to Connect with me: / thapatechnical
🗨️ Discord Server Link for Programmer to Hangout: / discord
-----------------------------------------------------
⌛TIMELINE ⌛
0:00 - Introduction to States in React.js
2:00 - Creating an Increment Button Using a Normal Variable in React
4:55 - Understanding Why the Value is Not Updating but Appears in the DOM
9:10 - Syntax and Example of the useState Hook
17:40 - The Importance of States in React.js
19:20 - Conclusion

Опубликовано:

 

28 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 20   
@ThapaTechnical
@ThapaTechnical 9 дней назад
👉 Source code & PPT access Free: github.com/thapatechnical/react-19-series-thapa-technical 👉 Here is the Complete Playlist: ru-vid.com/group/PLwGdqUZWnOp1Rab71vx2zMF6qpwGDB2Z1
@AmanKumarSinhaOfficial
@AmanKumarSinhaOfficial 9 дней назад
🎉🎉
@subratasadhukhan2161
@subratasadhukhan2161 8 дней назад
Your way of explaining is awesome 👌
@Manishkumar-sd6lb
@Manishkumar-sd6lb 9 дней назад
Iske baad aur kitni videos hai sir bcz I can't wait, 1st time mujhe bahut acha lag raha hai, sab kuch deemag mei Jaa Raha hai vo bhi ache se
@Amaankhan-qj9rk
@Amaankhan-qj9rk 16 часов назад
great explanation sir
@Grow.YT.Views.246
@Grow.YT.Views.246 9 дней назад
the best channel I know
@faizankhattak
@faizankhattak 5 дней назад
Must add Form Validation video using React in this playlist.
@owaisnadeem2751
@owaisnadeem2751 9 дней назад
Day # 26 Present Sir . Love & Respect from Pakistan !
@sanjibchanda21
@sanjibchanda21 9 дней назад
Awesome content sir ❤
@priyanshukapil5661
@priyanshukapil5661 9 дней назад
bahut badhiya
@aimalkhan4518
@aimalkhan4518 5 дней назад
Thanx Sir👍
@Faizan_Iqbal07
@Faizan_Iqbal07 9 дней назад
@vijendrasharma1375
@vijendrasharma1375 9 дней назад
😊❤
@ShubhamMudgalVlogs
@ShubhamMudgalVlogs 9 дней назад
❤❤
@gourabbistu9426
@gourabbistu9426 9 дней назад
why not you share the ppt ? sir please share it
@k-hp1oy
@k-hp1oy 7 дней назад
ppt nahi mil rahi
@mncreativezone4589
@mncreativezone4589 9 дней назад
⭐⭐⭐⭐⭐
@Govind_thakur99
@Govind_thakur99 8 дней назад
#25 Days ✅
@user-ux3tr7mg1v
@user-ux3tr7mg1v 8 дней назад
redy
@gauravshirodkar9158
@gauravshirodkar9158 2 дня назад
🫡🔥
Далее
Fix: Unable to view Vite local website on phone
4:32
LISA - ROCKSTAR (MV Teaser)
00:10
Просмотров 10 млн
Stop Using React!
0:29
Просмотров 395 тыс.
#1 Create a Simple Login Screen in React Native
5:15