Hope you enjoyed the video! I also have a really cool and unique course that will teach you way more than this video. You'll learn how to build an actual complex project with React. It's called "Project React" and you can find it at cosden.solutions/project-react. Also, I have a free weekly newsletter called "Import React" with tutorials, news, and cool stuff about React! You can sign up at cosden.solutions/newsletter?s=ytc
Thank you. I've been learning React for about 4 days and I was confused about the useContext and createContext, but your video explains it well. Thank you.
I rarely subscribe to any channels, but I owe it to you because what you taught me in 15 minutes will make a huge impact in my development. so thank you
Thanks man, been watching your videos for the last 7 days. Practicing for mid-senior dev job... Now I feel like a junior dev 😁, because of all the content I learnt. I "was" a "I can do it, but I can not explain it" person. But the upside is now I "REALLY" know what to do. Just subscribed. And we need more videos on testing.
This was a really good explanation. I took notes and later was able to replicate a similar example. I now understand the useContext hook a lot better. I'm just starting with React and this is really my first application, although I work with a team in a project that already have a lot of react. I expect to become more proficient in React to really be able to work on that project. Keep the good work, I hope you get a lot of subscribers soon.
I have subscribed since the very first video I had the luck to find and watch from you 😃. You explain everything very clear and understandable. Thanks for sharing your knowledge.
I watched you before because I have already subscribed some of coding channels but I watched your single video with all of my focus and then I did a subscribe to a channel which was your channel and started watching another video from your channel... Thank You !
Done thanks! Wrap useContext hook in a custom hook to handle when the context is null (if component didn't have provider up in the tree when it should have and tried to use the context hook)
Great, thanks. It's my first Context video and I think I got it at the first time because it's so well explained, of course having used Redux before makes this easier to understand.
Great explanation! I am new to React and your Hook series are really helpful to me. As I also do not have much time to go over everything and this is clear, on point and very concise. Thank you 🙇
you where one of the only youtubers who actually got me to subscribe to your channel. Nice way of implementing the idea 😃. And fantastic tutorials, crystal clear.
Definitely appreciate your attention to detail and have earned my sub. You helped me understand how I was having trouble with a boilerplate I use that has a useState inside a useEffect. I understand *what* the problem is now (thank you for that video), but I can't figure out what I need to learn to solve it. Thanks for at least helping me get closer.
Bro I really love your content and I learn a lot from you, don't worry about subscribers, they will ultimately come to you as your way of explaining is so very good. Keep uploading contents.
grouse wrapping the context in a hook. You can build up the provider with state & mutators and pass that to the value of the provider. There's no need to wrap the context with hook jank to extend the context -> with a wrapped hook A) you're not enforce access & mutations B) you also have an extra shit tonne of renders as the hook runs through state changes in every component C) you remove the useContext which hides the fact the component is consuming global/shared state.
Hope you enjoyed the video! I also have a really cool and unique course that will teach you way more than this video. You'll learn how to build an actual complex project with React. It's called "Project React" and you can find it at cosden.solutions/project-react. Also, I have a free weekly newsletter called "Import React" with tutorials, news, and cool stuff about React! You can sign up at cosden.solutions/newsletter?s=ytc
Thank you for the content. You have the gift to talk about coding in a simple way.
thank you for the kind words!
Wow you're a perfect teacher and programmer thanks for the time that you spent for this amazing content
Thank you. I've been learning React for about 4 days and I was confused about the useContext and createContext, but your video explains it well. Thank you.
did you complete your react journey?
Great tutorial! I was so confused about how Context works, every other creator complicates it too much. Thank you for simplifying it. Just subbed!
makes me happy to hear!
I rarely subscribe to any channels, but I owe it to you because what you taught me in 15 minutes will make a huge impact in my development. so thank you
same!
Thanks man, been watching your videos for the last 7 days. Practicing for mid-senior dev job...
Now I feel like a junior dev 😁, because of all the content I learnt. I "was" a "I can do it, but I can not explain it" person.
But the upside is now I "REALLY" know what to do.
Just subscribed.
And we need more videos on testing.
Clear explanations with no "fluff!
This was a really good explanation. I took notes and later was able to replicate a similar example. I now understand the useContext hook a lot better. I'm just starting with React and this is really my first application, although I work with a team in a project that already have a lot of react. I expect to become more proficient in React to really be able to work on that project. Keep the good work, I hope you get a lot of subscribers soon.
Really happy to hear that dude! You're going to do great ☺️ thank you for the kind words!
@@cosdensolutions please when are going to do a video on HOC
It's amazing you also taught how to deal with problems and showed proper way to code and handle potential errors.
I have seen a lot of videos on context but this is the best. easy to understand and follow through. thank you.
It's like eating a tasty food for the brain. Your presentation and words used is really easy to understand and not verbose. Liked and subscribed.
After this video you really don't need to watch another video about react useContext. This was excellent video.
I have subscribed since the very first video I had the luck to find and watch from you 😃. You explain everything very clear and understandable. Thanks for sharing your knowledge.
I watched you before because I have already subscribed some of coding channels but I watched your single video with all of my focus and then I did a subscribe to a channel which was your channel and started watching another video from your channel... Thank You !
"If you watch this hook video, you'll probably never need to watch another"
This is so true! You explain it so well. Thank you!
Bro thank you for this video! amazing. I have an interview in 1 hour and it's main thing is knowing about react context!
I'm learning how to avoid prop drilling--this helped so much! Thank you :)
Done thanks!
Wrap useContext hook in a custom hook to handle when the context is null (if component didn't have provider up in the tree when it should have and tried to use the context hook)
Great, thanks. It's my first Context video and I think I got it at the first time because it's so well explained, of course having used Redux before makes this easier to understand.
glad to hear it!
1:34 that was genious and I subd immediately. Nice work!
Thank you very much for your video. I finally cleaned up my context implementation and were able to get rid of the question marks 🙂
1:31 This part of the code worked; I have now subscribed!
☺️
Great explanation! I am new to React and your Hook series are really helpful to me. As I also do not have much time to go over everything and this is clear, on point and very concise. Thank you 🙇
I hope your videos go viral soon like they should. You are doing a great work with your explanations
Haha imagine going viral for React 😅 would love it!
Wow! Such a excellent explanation and with examples too. Well done 👏👏👏👏
Glad you enjoyed it! 🤙
you where one of the only youtubers who actually got me to subscribe to your channel. Nice way of implementing the idea 😃. And fantastic tutorials, crystal clear.
Thanks for content it get me out of props drilling and gaining to know the power of the useContext and customHook.
Thanks for this great and clear explanation with a lot more edges. Hope you will get 1 million subs soon. Tbh, You deserve it.
Thanks a lot 🤙
Best explanation about Context API. Thanks.
useContext is a great alternative for a bunch of prop drilling with a bunch of useStates as well in the child component as well.
I watched many videos and still did not understand context but this video helped me a lot.
you got this
Kept your word! Definitely last video I'll need on this concept.
Top-notch explanation. Manifesting 100k subscribers by end of this year
This was straight forward. Thank you for throwing in the extra error handling method as well 🔥
been loving the react tutorials man! dont think anyones ever explained context so simply :)
Definitely appreciate your attention to detail and have earned my sub. You helped me understand how I was having trouble with a boilerplate I use that has a useState inside a useEffect. I understand *what* the problem is now (thank you for that video), but I can't figure out what I need to learn to solve it. Thanks for at least helping me get closer.
This was the clearest explanation I've seen. Thank you!
Sou desenvolvedora Júnior e seus vídeos estão me ajudando muito a me desenvolver 🚀
That was some good explanation, you made contexts seem obvious...Appreciated
Thank you very much, with you I can understand the impossible
Great one with context, i like the way you handled the undefined scenario. Thanks for the tutorial.
Bro I really love your content and I learn a lot from you, don't worry about subscribers, they will ultimately come to you as your way of explaining is so very good. Keep uploading contents.
thanks for the kind words! 🤙
I speak another language, but I'm happy to find this video. Thanks!
Working on adding translated captions to all videos soon!
No doubt I won't need to watch another React Context API video! [Subscribed]
great explanation. I was a little bit confuse when using context and how to implement them.
I grabs those points clearly, thanks dude.
best explanation ever!🤩
I literally subscribed after seeing your message in the Video
I subscribed!! This is a great way to explain the concept + thanks for adding the error handling part 👍
🤙
that's incredibly explained, thank you sir
the way you explain react is the best!
Home of React well explained Tutorials
Great explanation!
Thanks it was very helpful
Thanks for the video bro. Simplified explanation always makes understanding better 😊
Glad you found it useful!
Yes Indeed. Keep it up 👏
Thank you! It's so clear
I reall like this explanation. You're very good, god bless you!
Amazing Channel for Learning React
Bro said, let me cook 🔥🔥🔥🔥🔥 awsome explanation 🎉
man, awosome video crystel clear concepts and learned how to write a more safe code(in the pov for debugging)
you know im a sub bro, your videos is my goto for react content- one day inshallah i meet you when i build an insane app
Fantastic tutorial. I really appreciate it. 😊
That subscribe intro you did made me subscribe. Genius.
Just make more videos like this on react plz you explain really well
Will do!
Ok, that isSubscribed segment actually got me to subscribe lol
you made it soooooo easy to understand
trying to get a grasp of it,nobody taught like u did,i finally get it now ❤❤
🤙
really nice and simple explanation thank you for making this video
A really underrated channel, well done bro! ⚡❤
I really did subscribe at 1:57...good one there😂
Nice video bro, thanks!!
GOD level explanation. I want everyone to subscribe to this channel. Too bad one can't give two likes.
Thanks a lot, this was really helpful. Really great video and great channel
glad it helped!
Great Explanation, Thank you!
Great content, thank you!
great explaination on useContext
Great job man. its very helpful !!
thanks man I really understood it. Subscribed already
Amazing tutorial.
Thanks a lot.
Each time he teaches me another hook, I get more attracted to this man.
Great video, thanks for sharing your time and knowledge,
Thanks man! Crystal clear now!
Realy great explanation,thank you
Great video. Thank you!
Really use full video thanks for doing ... extending my great full and encouragement .... keep doing well..
Very well explained !!
Thank you man. That is good explanation
It would be suggested to put some console log and also the UI just to make it more clear would be a lot helpful too thanks
Crystal Clear... Thanks
Another great tutorial thanks so much!
Bro I love the way that you explain keep it up. Subscribed❤
i put like b4 watching your videos :)
legend
Great tutorial thanks. My subwoofer got a serious workout every time you banged the mic though :-)
LOL 😂 it gets better in later videos I promise!!!
Amazing channel, thanks.
Really good explain
grouse wrapping the context in a hook. You can build up the provider with state & mutators and pass that to the value of the provider. There's no need to wrap the context with hook jank to extend the context -> with a wrapped hook A) you're not enforce access & mutations B) you also have an extra shit tonne of renders as the hook runs through state changes in every component C) you remove the useContext which hides the fact the component is consuming global/shared state.
Thanks from india..
Thanks bro, much appreciated !
That was such an awesome explanation 👍
Thanks 🤙