Global State with Context in React - React context

preview_player
Показать описание
#useContext #useState

Learn how to use hooks and useContext to create a global state in React. This can be used instead of Redux. In this video I create a state without useReducer and use only the regular useState.

Support me by subscribing to this channel ❤️

Do you want to master #react, #gatsby, or #svelte fast? ⏩ 🚀 👩‍🚀



Find me somewhere below:

Рекомендации по теме
Комментарии
Автор

Hey! I noticed that I've had some unintentional reverb on my latest videos. I will remove it for later ones 😃You should be able to hear what I say anyways and no, I'm not in a big airplane hangar recording 😄

Weibenfalk
Автор

nobody else on the entire internet, including the react docs shows how to use it correctly like this. you are a boss

ericyoung
Автор

This tutorial saved me from tons of work for my personal project. I had a lot of components that needed to share a single state but passing it as props and handlers were a pain. Thank you!

ksy
Автор

Finally found a tutorial that shows how to use contexts for something that isn’t just themes, hahah

Thank you so much!

arsnakehert
Автор

DUDE! I cannot stress enough how helpful this tutorial was!!!! thank you!

santiagosolana
Автор

Maaaan, i have been confuse with Context Concept for a few days. and now i am good with it. Many Thanks

learnwithindra
Автор

It's a great, very straightforward video. I picked it out of others because the title explained the whole concept of Context in React in precise and clear way and made right decision.

oxanasf
Автор

Much needed video, Thanks for your help

codeswithankit
Автор

You're so cool brother
After hours of trying to understand context hook now i get like butter

essli
Автор

That's a pretty cool component. Edit: Also, fantastic tutorial. Way clearer than all the others I have watched so far!

NeoNoggie
Автор

The double await had me 🤯😅 Great tutorial! Thanks a lot!

alenanik
Автор

man, u r saving my life, thank you so much!

valdompinga
Автор

Better than docs, and I agree about useReducer too bulky. Yay

thelma
Автор

Tack! I'm pretty new to React and have been using only useState so far. Things get complex real fast and I guessed context was the next step needed.

alexwarendh
Автор

I love you. I feel like I am the worst programmer in the world. Like really and you... you safe my life mate. Big up

asztonselecta
Автор

Thank you so much sir . You are awesome ....

itachi-senpaii
Автор

Thanks a lot for putting the time and the effort to explain this concept !!!

Triyanox
Автор

You helped me a ton! So straightforward. I really appreciate it. Thank you.

hassanbajwa
Автор

Nice video, I like how the flow of the work is.It makes you understand how useState with context works.

justicemanu
Автор

Salute for the tuto....very nice and easy to follow.

innodjetinnodjet