React for Beginners #5 - State & useState

preview_player
Показать описание
Welcome back to another React tutorial! In this video, I will be covering State. State is data that your app is holding and tracks and in our case, we'll be implementing State into our components.

⭐️ Timestamps ⭐️
00:00 | Introduction
00:18 | What is State?
01:27 | Functional Component State
09:50 | Passing State to Child Components
13:10 | Class Based Component State

◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
💰 Courses & Merch 💰

🔗 Social Medias 🔗

🎬 My YouTube Gear 🎬

💸 Donations 💸
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️

⭐️ Tags ⭐️
- Tech With Tim
- React
- React Tutorial
- Programming
- State
- useState

⭐️ Hashtags ⭐️
#TechWithTim #ReactTutorial
Рекомендации по теме
Комментарии
Автор

The best mini-course on React ever! Thank you!

mattiepro
Автор

I just got off learning react because i rarely found good not boring videos. thanks Timm i think imma hop backk

ahmdm
Автор

Thank you so much 😊
It’s the perfect explanation of state

mohammedabunadaa
Автор

awesome video, well explained, had to go step by step and even added a count down button to understand the concept in reverse.

zachfenton
Автор

You got me into starting js/react with that series ! I was learning django/kivy but fuck it react and react native is obviously the way to go 👍👍

flyte
Автор

Hey Tim, are you into competitive programming also could you try uploading some data structures and algorithms videos. Thanks a lot and keep up the amazing work!

ananthramvijayaraj
Автор

I have the buttonPressed() function running without the need for binding or the arrow function. Perhaps there is a setting difference?

bradmclean
Автор

Why would you use an arrow function to call setTitle and setCount rather than a regular function?

emreugur
Автор

are you planing to make a fullstack django react tutorial? i know that you already have such a tutorial but there you are using class components instead of functions

ckortreat
Автор

I want to be you when I grow up (I'm 30)

mrsquiggles
Автор

buttonPressed = () => {
this.setState({
count: this.state.count +1
})
}
render() {
return (
<div>
<p>Count: {this.state.count}</p>
<button Me!</button>
</div>
);
}

also works to fix 16:50

shirbenyosef