React Hooks useContext Tutorial (Storing a User)
HTML-код
- Опубликовано: 4 июл 2024
- Learn how to use the useContext hook in React to store and access a user.
Code: github.com/benawad/react-hook...
Playlist: • React Hooks Tutorial
----
If you like cooking, checkout my side project: www.mysaffronapp.com/
----
Join the Discord: / discord
----
Patreon: / benawad
----
Follow Me Online Here:
Twitch: / benawad
GitHub: github.com/benawad
LinkedIn: / benawad
Instagram: / benawad97
Twitter: / benawad
#benawad
TikTok: / benawad
----
Follow me online: voidpet.com/benawad
#benawad - Наука
My face after you mentioned the F2 tip 😲
You might also like some of my other vscode tricks benawad.com/vscode
@7:55 For anyone looking
Mind blown!
Oh my god yes, this is a game changer!
And then he continues to manually change all of them😂
This was such an amazing demo. Clear and to the point!
I watched the entire hooks playlist and this is the best react hooks video I ever watched. Thanks for creating...
I finally appreciate the logical flow from app state to context to context.provider. You absolutely rock, Ben! Thank you 😎👏🏽🔥
Thank you for this tutorial! I have been stuck for the past week trying to figure out how to pass details of an authenticated user to other components. This is just what I needed, a clear and easy to follow explanation.
EXACTLY what I was looking for, very well made, thank you!
I've been struggling with this so much that I have to watch 7 videos regarding this topic and all it did is make me more confused. But your less than 15 minute video made me understand what it is and how to use it exactly. Kudos to you!
The best tutorial/explanation I ever got from the web, straight to the point, with useful content. Thanks for sharing your knowledge.
Exactly what I needed, thanks! Helped me clean up some junky Stack Overflow suggestions that weren't working properly.
You saved me! I was struggling with getting data from one file to another and understanding context but as soon as I saw you setting state and using / setting state in other components / files, it all clicked. Was able to finish converting my vanilla JS app to React. Thank you!
The whole series has been so helpful for me. Thanks a lot for creating such awesome videos!
Thanks a lot Ben. You have explained it so nicely . I have searching for session management in React and you made my journey so easy. Thanks again !!
I like that this is not just an explanation of hook syntax, but a practical application of it.
That explained a lot and helped me to clear my mind about this topic. Much appreciation! A very clear and well-explained video without any extra unnecessary info!
It's friday afternoon here, brain has had enough. I tried reading the react docs a few times, read a few blogs, but this video made it click. Nice work.
Thank you so much for explaining it so well. I was having a hard time using the useContext hook, you made it super easy. Thanks a lot!
I love how you use simple ass components on your tutorials. Less boiler plate, straight to the point.
one of the clearest explanation on useContext out there !
Couple days into developing my app and this is exactly what I needed!!! Thanks!
I'm having trouble with this type of hook, your explanation and examples are very clear and simple. thank you so much!
Excellent overview. Not too much, just enough to understand the concept so that I can utilize it. Really good job!!
11 minutes of pure gold, thank you Ben.
you saved me... from doing it the old way that is, started learning hooks yesterday and i see how usefull they are, love your content man
You did a great job of making it look easy. Or, put another way, you did a great job of clearing the smoke around something that isn't as complicated as I thought it was.
Many thanks.
Great video, Ben. I've been back and forth between this video and Web Dev Simplified's useContext tutorial and yours drove it home a little bit better with the practical login example- which is exactly what I'm doing in my project right now. Plus you threw in useMemo as a bonus- props!
Same as I :)
Best demo ive seen, really nailed it!!!
Thank you! Have been stuck on react hooks for days!
The only video that was able to help me. You're a godsend. Keep it up brother.
This really helped me out. Thank you for taking the time to make this video. Real MVP.
this is the easiest context tutorial so far. Thank you
awesome video Ben, keep up the great work
This is the best explanation I have ever seen!
Awesome! This helped tons with saving settings. I was prop drilling before but this hook saved my behind. Thanks!
Bro. I've been struggling with react hooks like context, memo and other. Now usecontext is out of the list. Thanks to you. 👑👑
Understood. Thanks. Also the sound of you typing is so satisfying😂
wow... this is the cleanest example of useContext!
Lifesaver. Been trying to find a simple example that I can follow and you did it! thank you
This was amazing! So helpful. Exactly what I have been crying about. So grateful to you.
Straight to the point. Real nice.
I was having a little bit of trouble understanding this but I no longer have it. I love you man!
This was the best explanation i have seen so far, thanks.
You just made everything so easy. Thanks Ben.
my man is straight to the point thanks
Thank you so much for this tutorial! It helped the useContext hook finally click for me.
Really enjoyed learning from your video! Nice work!!
Thanks so much! Best tutorial on context, I finally understood it now. Not too quick.
Such a great and concise demo, even in 2022!
Benawad, you re good in programming. Totu keyboard typing and explanations sayit all. NICE
I was litterally looking for something like this thank you ❤️
Very clear explanation and straight to the point. Thanks a lot.
Best explanation ever !
So clear and helped me out heaps !
Thanks Ben
as clear as I was looking for, thank you very much
Thank you! Exactly what I was looking for 🙌
Thank you Ben, great learning in quick time
MASTERFULLY EXPLAINED!!!
It was clear and out of making any confusion
Just want to say that you just saved me!
You're the best Ben!!!
Thank you very much
it was a clear vid to learn basics of using context. thanks
You made it crystal clear!
Great tutorial, going to implement this on a personal project.
Exactly what i need. Thanks ben
Extremely helpful video! Thanks so much for such a simple and effective example 🙏🏼🙏🏼
Without a form, you explained better than anyone else
Simple and easy to understand. Thank you.
Such a good explanation. Thank you!!!
BEST useContext Tutorial
Amazing explanation, thanks Ben
best tut for react context on the planet , btw that mention of use memo took me to your another tut for usememo then it took me to useState , noice recursive videos
Dude, this was awsome. I've seen lots of videos that overcomplicate the whole thing. After 5 minutes of your video, I already implemented useContext in an app I'm working in and it just saved me a lot of headaches. Thank you!
WAIT A MINUTE. It's Ben Awad! How didn't I notice? And why am I not subscribed? I could swear I was. Well, guess you've (re)gained a subscriber.
clear and concise, and helpful.
Hey, currently learning react I love your work and your amazing videos thanks man 👍
Exactly the thing i was looking for, thanku so so much ben!!!
Excellent info and walkthrough, thank you sir!
Now I understand why the algorithm kept recommending this guy, it was cool to watch him code
Two year later, I'm watching this, I wonder why it have such a low viewers count, looks some hooks are missing.
This is real great, no bullshits or styles confusions.
Greetings from Tanzania 🇹🇿
Thank you! Exactly what I was looking for.
clear concise and perfect!
Great! Thanks you! Best explain of context that i have seen.
Thank you so much, this really helped me out massively.
Thanks for the quick lesson. Buen finde.
Thanks, great explanation!
The concept of ContextAPI became so much clearer for me as a noob in React.
Passing setUser as a context so that children can update parent contexts is an awesome pattern.
Thanks a lots , exactly what I am looking for.
Very nice informative video, I am doing a revision of react and redux, and i am revising with your tutorials.
Super nice demo
Thanks Ben!!! very good tutorial!! 🙂
Thanks Ben, appreciate that
Thank you for precious time and for the tips!
Thats a great explanation man .. Hats off to you !!
Video is very well done, thanks for sharing the knowledge!
Just beautiful! plainly beautiful.
Thank you very much sir. Very well taught
Yo, great straightforward and to the point video. Wonderful for review and for new learners alike, or if you're like me somewhere in between!
Great job!
Also, f2 didn't work on my windows machine.
simple but accurate. it's what i needed. thanks!
Great tutorial thank you!
Thank you so much, this is exactly what i wanted!!
Yes i love it , thank for your sharing
Wooh....Best explaination.. saved a day .! .... From Pakistan .
Nice explanation, thanks.