React useState Hook With React useState Example
Monsterlessons Academy
0:00 / 0:00
React useState Hook With React useState Example
830 просмотров · 5 лет назад
Monsterlessons Academy
56,7 тыс. подписчиков
830 просмотров · 5 лет назад
🎁 Free PDF: Senior Developer Starter Kit (Checklist + 30-Day Plan) → https://monsterlessons-academy.com/ne...
🚀 Go from Middle to Senior Frontend in 12 Weeks → https://monsterlessons-academy.com/co...
In this video you will learn React useState hook. In this use state hook tutorial we will cover all usecases that you need to know in order to start using this hook. React useState hook is the most popular React hook which brings for us state back to stateless components. We will build React useState example for better understanding.
🛠 Need a video editor?
Contact Ekaterina: ekaterina.kochergina.business@gmail.com
📌 Social
Twitter: / monster_lessons
Instagram: / monsterlessonsacademy
Facebook: / monsterlessonsacademy
Linkedin: / monsterlessons-academy
Tiktok: / monsterlessonsacademy
📚 References
Source code - https://github.com/monsterlessonsacad...
🕒 TIMESTAMPS
0:00 Introduction
0:17 Generating React application
1:00 What is React useState Hook
5:59 React useState Example
7:03 Correct hooks placing
8:07 Passing a function to use state hook
10:03 Using a single object inside useState
13:46 Default value in function
15:30 Outro
This video is NOT sponsored. Some product links are affiliate links which means if you buy something I'll receive a small commission.