Context API Tutorial For Beginners - Using React Hooks

  Рет қаралды 189,000

PedroTech

PedroTech

3 жыл бұрын

In this video I will teach you guys how to use the Context API for State Management in React. We will be using the CreateContext and UseContext hooks to create a context allowing us to manage different states in a React Application.
-
🚀 Learn ReactJS By Building 6 Projects: codedamn.com/learn/reactjs-pr...
Please leave a comment on what topic you guys want me to cover next!
-
📞 Tutoring Session: www.fiverr.com/share/pw8RPY
💻 PedroTech Discord: / discord
-
Social
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Website: machadopedro.com
Twitter: / pedrotech_
Linkedin: / machadop1407
Instagram: / _pedro.machado_
Github: github.com/machadop1407
Email: machadop1407@gmail.com
Tags:
- Context API
- UseContext
- ReactJS Tutorial
- ReactJS and MySQL
- NodeJS Tutorial
- API Tutorial

Пікірлер: 282
@frogonajetski
@frogonajetski 2 жыл бұрын
This is absolutely, beyond a shadow of a doubt, the best explanation of this on KZbin. Thank you for helping me understand it completely in 10 minutes.
@stackercoding2054
@stackercoding2054 2 жыл бұрын
Thanks for creating this video straight to the point, I was able to implement context in my project in just a few minutes.
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Glad you liked it :)
@inspriongaming4992
@inspriongaming4992 Жыл бұрын
@@PedroTechnologies Thanks bro you saved my time your method of explaining is fantastic
@emegwaonyeka7132
@emegwaonyeka7132 Жыл бұрын
For once I finally understood and implemented context API...you explain so easily and straight to the point, with points to take. Thank you
@mennamagdy7783
@mennamagdy7783 2 жыл бұрын
Thank you a lot! A great tutorial, straight to the point, and easy to understand. I admire your simple way of explaining it. I always find it difficult to understand it.
@aidanasal3935
@aidanasal3935 2 жыл бұрын
Great tutorial! Getting straight to the point was super helpful in understanding it better and easier.
@amitsinghania2260
@amitsinghania2260 2 жыл бұрын
I have been watching your videos for quite some time. You make the topic very understandable and easy to implement.Gr8 going, keep up the good work. Thanks.
@apawar3099
@apawar3099 2 жыл бұрын
Thanks "SIR", This was the best explanation I found after searching all day....Thank you so much Pedro❤️
@yogi2983
@yogi2983 Жыл бұрын
This is the best explanation I've seen yet. I've struggled to understand how to use this until now. Thanks!
@fares.abuali
@fares.abuali 2 жыл бұрын
Thanks for creating this video straight to the point. Such a great tutorial 👏🏻
@DHKarol
@DHKarol Жыл бұрын
I don't know why but you seem like the only guy that translates the problems new things to me as I would expect it to be done. The logic is nicely and simply explained unlike in other videos where it seems like they took some random lines from google trying to explain the feature
@soyabogadodeldiablo
@soyabogadodeldiablo Жыл бұрын
Thank you so much Pedro!!!! You couldn't have explained this better. This was exactly what I was looking for my project!!!
@johnnash6078
@johnnash6078 2 жыл бұрын
Another wonderful video..just to the point..no nonsense blabla! Really appreciated!
@donnazukowski
@donnazukowski Жыл бұрын
Awesome video. I'm putting together a simple project and didn't want to use redux. This was a huge help to just pass simple data. Thank you so much. I'm watching your other videos as well!
@deveshb793
@deveshb793 Жыл бұрын
Mann you're the best, you don't kow how much I've grown watching your tutorials
@shubhamrathod5933
@shubhamrathod5933 9 ай бұрын
I saw many tutorials for useContext, but after this tutorial, I understood how to use context API easily. Thank you :)
@AntNZ
@AntNZ 2 жыл бұрын
Props for this one. One of the best explanations of context I have found :)
@naspy971
@naspy971 2 жыл бұрын
I struggled so much to find someone explaining it with another example than just the theme example, and very clearly.. THANKS DUDE !!
@VP-qd2ed
@VP-qd2ed 22 күн бұрын
damn mee too cant understand the white boys shit
@JoseOrtega-oc9ip
@JoseOrtega-oc9ip Жыл бұрын
Awesome explanation Pedro! Straight to the point! Thanks for sharing!
@dawid-bobowski
@dawid-bobowski Жыл бұрын
Thank you very much for this video. You clearly described how does Context API work and thanks to you, I was able to implement it in my project!
@pauloricardomaltaleal3558
@pauloricardomaltaleal3558 6 ай бұрын
Every day you help me in different way, I recived my first task in my job that need to use context, im search in ytb, watch your video, and now I can continuous my task.
@fhkodama
@fhkodama 2 жыл бұрын
One more hook learned and used in my portfolio! Thanks, Pedro!
@developerasatuber
@developerasatuber 3 жыл бұрын
loved it man!! thanks for this short tutorial :)
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Glad you liked it!
@ThColinPereira
@ThColinPereira 2 жыл бұрын
Great video again, Pedro! This was explained so well!
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Glad to hear that!
@SiddheshMangela
@SiddheshMangela 2 жыл бұрын
Thanks a lot. Wanted to use it on a project, did not know how to but now I do
@coderjag8828
@coderjag8828 2 жыл бұрын
Thank you for your videos bro, especially the React ones. Keep it up bro they're very helpful!
@rickrudloff2151
@rickrudloff2151 Жыл бұрын
Best explanation I have seen on this topic and perfect for beginners. Very easy to follow!
@fakedofaker9878
@fakedofaker9878 2 ай бұрын
its cool that i knew u were brazilian too by hearing your accent. Good work, man. Proud of your content
@FranciscoBourquin
@FranciscoBourquin 9 ай бұрын
Excellent clear and simple explanation man. Thanks! You got a new subscriber.
@adarshnayak6803
@adarshnayak6803 2 жыл бұрын
I do not know why you are so underrated , You content is amazing , to the point like it should be
@demiladejulius5792
@demiladejulius5792 Ай бұрын
This is really great Pedro. thank you
@ipsita_priyadarsini
@ipsita_priyadarsini 2 жыл бұрын
Well understood with less time. Very much help video. Thank you @Pedro keep going.
@zaintahir3348
@zaintahir3348 9 ай бұрын
best explanation , simplest , clearest, absolutely best. Thank you so much !
@Subhan-Qamar
@Subhan-Qamar Жыл бұрын
Elaborated professionally and increased the understandability.Thanks brother
@HeyNoah
@HeyNoah Жыл бұрын
Loved this video! Thanks so much Pedro!
@renat0sp
@renat0sp 2 жыл бұрын
Muito obrigado, direto e claro, sem rodeios.
@lilwayne6037
@lilwayne6037 2 жыл бұрын
Very amazing video... Stuff explained far better than those big/famous youtube channels...
@canaleduardokuhn
@canaleduardokuhn 3 жыл бұрын
Your videos are not only extremely helpful but also very inspiring to us brazilians as you might imagine. I'm glad to discover this channel! Valeus! =)
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Happy to hear that! Vlww mano!
@ramonmaximiliano3557
@ramonmaximiliano3557 Жыл бұрын
This was really a perfect explanation man, thank you
@jjjie59
@jjjie59 7 ай бұрын
Thanks. it helps a lot, content is straight to the point
@HeroKiller-rh6vx
@HeroKiller-rh6vx Жыл бұрын
Great video man, watched it with breakfast and feel like i got a great understanding
@andrewleonardi3351
@andrewleonardi3351 Жыл бұрын
Far and away the best video explaining the Context API.
@djkujo007
@djkujo007 2 жыл бұрын
Very helpful video and your explanation was easy to understand. Thanks!
@user-jj7qd9wc7z
@user-jj7qd9wc7z 8 күн бұрын
thnks bruh! it was much needed..i only got it from you
@kushalmondal618
@kushalmondal618 Жыл бұрын
What a level of making someone understand topic of fear...... it was smooth by you.... thank you....
@maxmaksum4673
@maxmaksum4673 2 жыл бұрын
brother, I have watch many tutorials on usecontext api. But this one your tutorial is so simple and short. and I get it. thank you
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Glad to hear that!
@bernard2560
@bernard2560 7 ай бұрын
Finally I understand the context API, thank you!!!
@lngwnd1
@lngwnd1 2 жыл бұрын
The fact that you left no comment unanswered made me subscribe. Thanks for making this very simple and digestible KT video.
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Thanks for the sub! Sometimes I get caught up with work and am unable to answer some, glad on this one I was able to answer everyone hahaha
@toughguy9613
@toughguy9613 2 жыл бұрын
I got my job watching your tutorials ❤️ Thanks bro
@ahmedalaaezzat
@ahmedalaaezzat 11 ай бұрын
Thank you I enjoyed the video, it's simple and clear ❤
@niranjanjathar3748
@niranjanjathar3748 2 жыл бұрын
The way you teach is very appreciable 🔥🔥👌
@makanmusty
@makanmusty Жыл бұрын
Great video. I’ve literally just subscribed.
@ahmetkarakartal9563
@ahmetkarakartal9563 11 ай бұрын
This is what I need it. Thank you so much
@kayengxiongtongsuatong4132
@kayengxiongtongsuatong4132 3 жыл бұрын
Amazing!!! The best Context Tutorial ever
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Glad it was helpful!
@robertmasters01
@robertmasters01 2 жыл бұрын
great refresher that I needed! thanks! instant sub :)
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Thanks for the sub!
@luizfernandomattos2140
@luizfernandomattos2140 Жыл бұрын
ajudou muito irmão!! continue assim voa muitoooo
@danieljohnson4597
@danieljohnson4597 Жыл бұрын
Thanks after multiple tutorials, i finally understand
@animatsuki5345
@animatsuki5345 Ай бұрын
cool, thanks man! very helpful!
@ocirnevi15
@ocirnevi15 Жыл бұрын
Excellent explanation, thank you for sharing!!!
@darpananeja6755
@darpananeja6755 Жыл бұрын
Exactly what I needed!!!
@enmimaquinaandaba
@enmimaquinaandaba 2 жыл бұрын
I finally understood context API. Thanks!
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Glad I could help :)
@Tamilanda7T
@Tamilanda7T 10 ай бұрын
thank u so much bro i understand working concept of context api in 10 minutes
@beatriz1570
@beatriz1570 Жыл бұрын
such a good tutorial thank you so much!!!
@IvanBilan-ty9jw
@IvanBilan-ty9jw 19 күн бұрын
Great video, simple and effective
@kaenovama
@kaenovama 2 жыл бұрын
My god, this is clearly explained. Thankss!
@abidinberkay1
@abidinberkay1 2 жыл бұрын
finally found a video which goes to the point directly without any unnecessary details, thanks man. I have a question: you have provided all username-setusername-setshowprofile to the children as parameter of LoginContext provider, lets think we have tens of values that need to be shared so do we have to write them all one by one as parameter ? Or is there anyother way like defining them in LoginContext.js etc. ?
@ArnabKrDas
@ArnabKrDas 4 ай бұрын
To the point explanation. Thanks man
@invysible
@invysible 2 жыл бұрын
easy to understand explanation! thank you
@danilocecilia7831
@danilocecilia7831 2 жыл бұрын
Muito bem explicado! Fiquei curioso pelo nome do seu Canal e imaginei que fosse brasileiro, entrei na sua pagina do linkedin e pude confirmar que eh do BR e que tambem mora em Vancouver assim como eu. :)
@hubertwojcik8743
@hubertwojcik8743 3 жыл бұрын
Well described, thank you!
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Glad it was helpful!
@muneebahmad8772
@muneebahmad8772 8 ай бұрын
I liked the way you are teaching us. Awesome
@shahzadasalman8461
@shahzadasalman8461 3 жыл бұрын
great tutorial. good luck and waiting for more stuff.
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Thank you! Glad you liked it!
@dadaodunayo395
@dadaodunayo395 2 жыл бұрын
Thanks for this. It was very helpful
@tahaimran24
@tahaimran24 2 жыл бұрын
Amazing Tutorial Bro... You Got A new Sub.. Keep the good work up
@mohammedsadiq5729
@mohammedsadiq5729 3 жыл бұрын
Aaah love context❤️
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Love it too!
@jingli9232
@jingli9232 Жыл бұрын
super clear, thx
@samuelnjenga7912
@samuelnjenga7912 Жыл бұрын
What an amazing explanation, 💯👌
@luciuscarneiro
@luciuscarneiro 3 жыл бұрын
Excelent tutorial. Thanks for sharing!!!
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Glad you enjoyed it!
@AdamElMou
@AdamElMou 2 жыл бұрын
you just saved me 1 hour of my life in 10minutes
@amandeepsaini4172
@amandeepsaini4172 2 жыл бұрын
Thanks, that was very informative.
@COdEiSLiFe_
@COdEiSLiFe_ 8 ай бұрын
Thanks. That's relay helpful❤.
@prayascsa6601
@prayascsa6601 Жыл бұрын
this video was absolute POGGERS
@user-sz3nn2lb6u
@user-sz3nn2lb6u 2 жыл бұрын
best explanation!! thank you !
@muhammadmohsinhussain5428
@muhammadmohsinhussain5428 Жыл бұрын
I was scaring by the name of context API before watching your video. Finally I've learned. Thanks Dear....
@ilhamadiputra4745
@ilhamadiputra4745 3 жыл бұрын
At last... State management 👏👏. Much much thanks
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Thank you! This is an introduction video, but I am planning on bringing an awesome React project using a lot of State Management with the Context API!
@ilhamadiputra4745
@ilhamadiputra4745 3 жыл бұрын
Im looking forward to that project! Im still struggling in react state management, i dont know what to use, what state management to use for newbie like me. Thank you very much. WAITING FOR 3K SUBS THO & good luck 👏💪
@ayjayaywhy
@ayjayaywhy 2 жыл бұрын
very clearly explained. thanks a lot!
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Glad it was helpful!
@FerkySaputraMusic
@FerkySaputraMusic 2 жыл бұрын
Great explanation! thanks
@RobinSingh-ms3zt
@RobinSingh-ms3zt 2 жыл бұрын
Thanks bro I understand it now.
@soltiscd
@soltiscd 3 жыл бұрын
Really good. Succinct and precise
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Glad you liked it!
@saharchegeni6154
@saharchegeni6154 Жыл бұрын
Thank you for the great explanation
@danielnicholas1747
@danielnicholas1747 Жыл бұрын
good vid dude appreciate
@hasithlakshan5
@hasithlakshan5 2 жыл бұрын
thanks mate keep it up 👍
@11balajir20
@11balajir20 Жыл бұрын
Thank u so much brother....the best explanation I got
@vishnuravva7992
@vishnuravva7992 9 ай бұрын
Simple and on point explanation 👍
@williamlawrence1044
@williamlawrence1044 11 ай бұрын
Best explanation I’ve come across
@subhendudey1786
@subhendudey1786 5 ай бұрын
Very good onpoint no extra time compact tutorial
@GabrielMartinez-ez9ue
@GabrielMartinez-ez9ue Жыл бұрын
Thank you. For this case, isn't it almost the same as prop drilling?
@jotsingh9319
@jotsingh9319 Жыл бұрын
Awesome video !!
@sardoralijanov673
@sardoralijanov673 3 жыл бұрын
Super tutorial! Thank yo you very much!) Found it to be very useful! +1 to your subs)
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Glad it was helpful!
@LEGnewTube
@LEGnewTube Жыл бұрын
Super helpful thank you
@leandro4414
@leandro4414 Жыл бұрын
Excelente, melhor explicação!
Context API in react | get the concept
29:00
Hitesh Choudhary
Рет қаралды 37 М.
Learn React Hooks: useContext - Simply Explained!
15:46
Cosden Solutions
Рет қаралды 117 М.
YouTube's Biggest Mistake..
00:34
Stokes Twins
Рет қаралды 76 МЛН
когда одна дома // EVA mash
00:51
EVA mash
Рет қаралды 13 МЛН
You might not need useEffect() ...
21:45
Academind
Рет қаралды 140 М.
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 335 М.
UseContext Hook Tutorial In ReactJS | Global States
10:00
PedroTech
Рет қаралды 32 М.
React Hooks useContext Tutorial (Storing a User)
11:38
Ben Awad
Рет қаралды 357 М.
React tutorial in Hindi #60 Context api with Hooks | useContext
19:39
Code Step By Step
Рет қаралды 65 М.
All useEffect Mistakes Every Junior React Developer Makes
22:23
Wow AirPods
0:17
ARGEN
Рет қаралды 1 МЛН
3D printed Nintendo Switch Game Carousel
0:14
Bambu Lab
Рет қаралды 3,9 МЛН
Распаковка айфона в воде😱 #shorts
0:25
Mevaza
Рет қаралды 1,6 МЛН
What’s your charging level??
0:14
Татьяна Дука
Рет қаралды 5 МЛН
Внутренности Rabbit R1 и AI Pin
1:00
Кик Обзор
Рет қаралды 2,2 МЛН