Managing state in React #5 React Course | Code with Sloba

Опубликовано: 20 Ноябрь 2024
на канале: Code with Sloba
1,988
41

Managing state in React #5 React Course | Code with Sloba

Hello in this video I’m gonna talk about managing state in React applications. How can you handle state in your Class component in React? Or how can you manage state in a functional component?

Managing state in react is pretty straightforward.

************************************************************
Previous Video:    • React Components #4 React Course | Co...  
Next video:    • React hooks #6 React Course | Code wi...  
Full series:    • Full React Course  
************************************************************

🧿 I discussed:

✔️ What is the state in React?
✔️ How to create a state object
✔️ How to use setState
✔️ How to update states in CLASS component

0:00 Intro
0:08 What is state
0:40 Create state in Class component
2:30 Coding Users functional component
3:45 Testing the app

Social Media
**********************************

👉 Linkedin:
✔️   / slobodan-gajic  

👉 Portfolio:
✔️https://bobangajicsm.github.io/portfo...

👉 Twitter:
✔️  / _slobodangajic_