useContext Hook in React | How useContext Hook Works in ReactJS in Hindi In 2020 #52

  Рет қаралды 177,548

Thapa Technical

Thapa Technical

Күн бұрын

Welcome, what is useContext in ReactJS Hooks in Hindi? How the useContext Hook Works. React's Function Components come with React Hooks these days. Not only can React Hooks be used for State in React but also for using React's Context in a more convenient way. This tutorial shows you how to use React's useContext Hook. Before, make sure to read the previous tutorial for getting an introduction to React's Context:
Why React useContext?
What is React useContext?
How to use React useContext?
When to use React useContext?
************ Must Watch Videos For Web Development ************
➡️ Hooks in React JS in Hindi | useState in Hook in React JS: • #30: Hooks in React J...
➡️ Array Destructuring in ES6 in JavaScript in Hindi 2020: • ES6 Tutorial #5: Array...
➡️ Object Destructuring in ES6 in JavaScript in Hindi: • ES6 Tutorial #7: Objec...
➡️ React DevTools & Source Code Link: www.thapatechnical.com/2020/0...
➡️ ReactJS Tutorial in Hindi 2020 Playlist Link: • React JS Tutorial in H...
➡️ Fat Arrow Function in JavaScript in Hindi 2020: • ES6 Tutorial #8: Fat A...
➡️ #23: Array in React JS in Hindi | React JS Project Netflix App #2 in Hindi in 2020
➡️ Array in JavaScript in Hindi: • JavaScript Tutorial in...
➡️ #22: React JS Project Netflix App Part #1 in Hindi in 2020: • #22: Props in React Js...

➡️ Install VS Code for ReactJS LINK: www.thapatechnical.com/2020/0...
➡️ Check Complete Reactjs in One video here 👇 • ReactJS For Beginners ...
➡️ HTML in One Video: • Learn HTML in One Vide...
➡️ CSS in One video: • Learn Complete CSS In ...
➡️ CSS FlexBox in 30 Minutes: • CSS FlexBox in 30 Minu...
➡️ JavaScript in One video: • JavaScript in One Vide...
➡️ ECMAScript 6 in One Video: • ES5 & ES6 | ECMAScript...
➡️ HTML5 in one video: • HTML5 Tutorial in One ...
➡️ CSS3 in one video: • Learn Complete CSS3 In...
➡️ Bootstrap4 in One video: • Bootstrap 4 in One Vid...
➡️ Jquery in One video: • jQuery in One Video in...
➡️ JSON in one video: • JSON in One Video in H...
➡️ ReactJS in one video: • ReactJS For Beginners ...
➡️ PHP in One Video: • PHP TUTORIAL IN ONE VI...
➡️ NodeJS in one video: / ipnwakoibt
➡️ MySQL in one video: • Complete SQL & MySQL i...
********** CLICK HERE TO WATCH ************
➡️ Fetch API in JavaScript: • Fetch API in JavaScrip...
➡️ AJAX tutorial for beginners in Hindi: • AJAX tutorial for begi...
➡️ Template literals (Template strings) in ES6 in JavaScript in Hindi: • ES6 Tutorial #3: Templ...
➡️ Async Await in JavaScript in Hindi: • Async Await in JavaScr...
➡️ Promises in JavaScript in Hindi: • Master The Promises in...
➡️ Callback Hell in JavaScript: • Callback Hell in JavaS...
➡️ Advanced JavaScript in Hindi Playlist: • Advanced JavaScript Tu...
➡️ ECMAScript Tutorial in Hindi 2020: • Modern JavaScript ES6 ...
➡️ ES5 & ES6 | ECMAScript 6 in One Video in Hindi: • ES5 & ES6 | ECMAScript...
➡️ JavaScript Game Development Series in 2020: • JavaScript Game Develo...
➡️ Source Code Link: www.thapatechnical.com/2019/1...
➡️ Top 5 Programming Languages in 2020: • Top 5 Programming Lang...
➡️ Ludo Game JavaScript Link: • JavaScript Game in Hin...
➡️Plz show some love to My Siter KZbin Channel and Plz Subscribe Link: / @mayabeautyvlogs878
**************** MUST WATCH VIDEOS *****************
➡️ How to become a Full Stack Developer 2020: • How to become a Full S...
➡️ How To Become a Web Developer 2020: • How To Become a Web De...
➡️ How JavaScript Works: • How JavaScript Works i...
➡️ Follow me on Instagram: / vinodthapa55
Make Website Responsive Using Media Queries in One Video in Hindi | Web Design Tutorial in Hindi
➡️ Link: • Make Website Responsiv...
Guys, Please support my channel by SUBSCRIBE to my channel and share my videos in your Social Network TimeLines.
Don't Forget to Follow me on all Social Network,
Website Link: www.thapatechnical.com
Instagram Link: / vinodthapa55
Facebook Link: / vinodthapa55
Twitter Link: / vb55thapa
Facebook ThapaTechnical Page Link: vinodbahadur...

Пікірлер: 137
@ThapaTechnical
@ThapaTechnical 4 жыл бұрын
I hope you all are now familiar with react n knows how React works... Guys video ko share jarrur krna.. 🙏
@tarunjoshi1106
@tarunjoshi1106 4 жыл бұрын
Sir COVID 19 india ke api ka use krke React Js mai bhi bnao 👌☺️ Jo data ko display kre properly 😋👌
@skwebdev7298
@skwebdev7298 4 жыл бұрын
Sir, can you please suggest some good Blogs for reading. React
@ninad1902
@ninad1902 3 жыл бұрын
sir what is the difference between usecontext hook and context api and redux?
@zakarehman8820
@zakarehman8820 3 жыл бұрын
@@skwebdev7298 Go to official site of react
@sammittal6100
@sammittal6100 3 жыл бұрын
i read 4 articles and watched 2 videos on this topic it bounced over my head..... saw this video at 2x and understood it clearly on the first attempt... keep making videos
@starlord7526
@starlord7526 10 ай бұрын
those 4 articles and 2 videos helped you understand this better
@prashantmaitra3361
@prashantmaitra3361 4 жыл бұрын
I was waiting for this reactJs tutorial since last 7 months. You are my new tutor. Thanks
@maxxinmaze4501
@maxxinmaze4501 3 жыл бұрын
wow! well-Explained man! Keep up the good work!❤
@ankita_156
@ankita_156 2 жыл бұрын
I watched literally 3-4 videos and didn't understand a damn thing. After watching your video, I understood so many things. Thank you.
@kadivetisrikanth4710
@kadivetisrikanth4710 2 жыл бұрын
I have watched multiple videos for this and nothing make sense like this video does. 🤘
@Singh54321
@Singh54321 4 ай бұрын
bro literally 5 videos dekh chuka ,lekin samaj aapse hi aaya thank you
@shaikhzaid1117
@shaikhzaid1117 10 ай бұрын
" And Boom guys " i love that , great way to teach love it sir
@hardikpatel9483
@hardikpatel9483 3 жыл бұрын
hello, sir -- Make video for redux in React. and also how to integrate React in Php. Need real time project. I mean Advance React Implementation. I love u r videos, explanation ...... I appreaciate your efforts, hard work for new learners. Thank you ...!!!!!!
@dreamer6911
@dreamer6911 9 ай бұрын
Believe me or not I just watched some video on useContext hook but no one literally nobody explain it that simply. Hats off to thapa sir.
@ThapaTechnical
@ThapaTechnical 9 ай бұрын
Thank You so much
@RINKUVERMA-gv6tp
@RINKUVERMA-gv6tp 2 жыл бұрын
Thanks buddy apki video se maine react sikha hai jo bhi sikha hai apki video se really bhut helpfull rha hai vo mere career mai
@mohitkhandar8060
@mohitkhandar8060 3 жыл бұрын
Osm bhai your teaching skills 🤯mind blowing
@dishashah4197
@dishashah4197 8 ай бұрын
You explain complex topics so easily
@Dineshkumar-ic5el
@Dineshkumar-ic5el 3 ай бұрын
Really its good as compare to use Consumer, it was so long. Thanks
@rabiafaisal558
@rabiafaisal558 8 ай бұрын
shukr ha apk lecture sy mujhy context api smj a geya
@jintudas7088
@jintudas7088 3 жыл бұрын
Very helpful video, thank you so much
@vivekpadelkar
@vivekpadelkar 2 жыл бұрын
simple example............nice work buddy !!!
@mianaleem8773
@mianaleem8773 4 жыл бұрын
you are a good teacher Love you sir 💓
@bhartchouhan2024
@bhartchouhan2024 2 жыл бұрын
you are really a perfect teacher .
@usmanshafiq2882
@usmanshafiq2882 3 жыл бұрын
Hi Sir, You are doing so well. I have a question, why is your boom animation missing? 😁
@drhasnainsikandar
@drhasnainsikandar 3 жыл бұрын
aur yeh dekho guys boom hmayu smajh agya. Thank you very much
@fitnessmodeldiet5350
@fitnessmodeldiet5350 3 жыл бұрын
wow use context is amazing 😍😎👍
@biswajeetpadhi5713
@biswajeetpadhi5713 3 жыл бұрын
Sir awesome videos. Please make video on redux. This concept is complex and i know you will make that simple. Ao please make vidoe on that 🙏🙏🙏
@ritiksahu5310
@ritiksahu5310 3 жыл бұрын
concept clear hogaya thanks..
@satishgaikwad6958
@satishgaikwad6958 4 жыл бұрын
Nice explaination....Thanks sir... 👏
@fitnessmodeldiet5350
@fitnessmodeldiet5350 3 жыл бұрын
It is really useful and very powerful
@kunalahire5036
@kunalahire5036 Жыл бұрын
well explanation now i understand consept
@shubhamh7451
@shubhamh7451 3 жыл бұрын
brrr, thank you so much man!
@GameXN_Shorts
@GameXN_Shorts 2 жыл бұрын
Thapa Sir you are great !!!!
@TechLearneryt
@TechLearneryt Жыл бұрын
abb thora sukoon aya 😂😂. pechli video ma to mujhe gussa aa raha tha consumer wale part to dekh kr😆😂
@Ashay39
@Ashay39 10 ай бұрын
Simply Awesome!!!
@rehanbutt2262
@rehanbutt2262 2 жыл бұрын
Great explanation bro
@asmereg
@asmereg 3 жыл бұрын
Thank You So Much! Keep Sharing the knowledge🧡
@sadekurrahman4086
@sadekurrahman4086 4 жыл бұрын
Sir, when you make lessons give us some example sites where this concept has been used. It seems to me I will never be able to relate basics to real projects.
@creativeakshara8438
@creativeakshara8438 4 жыл бұрын
Sir please make canvas tutorials Also 💗
@nicetomeetugaming7024
@nicetomeetugaming7024 2 жыл бұрын
You are legend sir!
@vimalrijal8717
@vimalrijal8717 Жыл бұрын
well explain brother 😍
@saurabhdeshpande7383
@saurabhdeshpande7383 3 жыл бұрын
what an explanation bestt
@DEEPANSHU_NAG
@DEEPANSHU_NAG 4 жыл бұрын
Awesome explanation 👏🏻💯
@anushdsouza9632
@anushdsouza9632 Жыл бұрын
so boom i learned Context api
@Muhammadwaseemkha9003
@Muhammadwaseemkha9003 3 жыл бұрын
Sir mera aik question hy kindly app batayengy app jab koi project ki video upload krty hy toh kitna time lagta hy apko banany my plzzz mjhy bataye
@prateek4524
@prateek4524 3 жыл бұрын
very useful video💪💪💪🔥
@rajbannasa7662
@rajbannasa7662 3 жыл бұрын
thank you so much sir
@pratikfulkar4335
@pratikfulkar4335 3 жыл бұрын
wahh bhai jabardast
@symunmajumdarnadeem3838
@symunmajumdarnadeem3838 2 жыл бұрын
Thanks Thapa bro
@rajivkumarjayaswal2706
@rajivkumarjayaswal2706 3 жыл бұрын
Please make video for webpack in React.js. and uses of webpack in details
@RAJMUSHAM
@RAJMUSHAM 3 жыл бұрын
Sir, react js login and registration video banao
@fallofmanbrand
@fallofmanbrand 4 жыл бұрын
nice content bro
@ankitchauhan8682
@ankitchauhan8682 Жыл бұрын
Thanks bhai!!!!
@abskawser8565
@abskawser8565 2 жыл бұрын
Love from Bangladesh 🇧🇩🇧🇩🇧🇩
@codonelearn
@codonelearn 3 жыл бұрын
I Like your video bro.
@musabnawazrajar759
@musabnawazrajar759 11 ай бұрын
Parent component me data share kia ja skta hai, use context ke through
@nprashanth3154
@nprashanth3154 3 жыл бұрын
Hi bhaya...I think Redux with React par youtube me acha videos nahi hai...please this topic par video kardhena....thanxx
@vaibhsugandhi
@vaibhsugandhi 3 жыл бұрын
Too good sir
@kauserjaffari9790
@kauserjaffari9790 3 жыл бұрын
Hi Vinod, Thank you for brilliant explanation, But why didn't we remove the return stuff or Consumer and its function from ComC ? or why didn't you use useContext() in ComC instead of ComB ? So does it means now the we are passing the data in ComB and not in ComC?...Please clarify
@abhishekjn3390
@abhishekjn3390 3 жыл бұрын
he just compared the two. useContext vs manually sending data around using - CreateContext - Provider -Consumer(refer his prev video) he showed manually sending data in CompC, useContext in CompB. you can do the same in CompC using this video. anyway.. watta a tut.. wat a legacy he is doing .. good work.. more power to him.
@kauserjaffari9790
@kauserjaffari9790 3 жыл бұрын
@@abhishekjn3390 Indeed, his explanation is good. Thank you I will watch the other one :)
@rajat-s-kale1771
@rajat-s-kale1771 Жыл бұрын
@@abhishekjn3390 Thank you bro for clarify and Yes ,his teaching is awesome
@Vi99770
@Vi99770 2 жыл бұрын
i like the way you say then 321 boom guys
@pawanmishra6571
@pawanmishra6571 Жыл бұрын
Sir context ki help se child se parent component me bhi data pass ho sakta he kya
@pritech8302
@pritech8302 2 жыл бұрын
thankyou sir
@Realife169
@Realife169 7 ай бұрын
great work #useContext
@thecoderraj3777
@thecoderraj3777 3 жыл бұрын
Thanks 😊 sir
@EWorldHub
@EWorldHub 3 жыл бұрын
Superb
@RohitKumar-dz8dh
@RohitKumar-dz8dh Жыл бұрын
Thanks
@CS_HimanshuVishwakarma
@CS_HimanshuVishwakarma Жыл бұрын
Bhai ek doubt he meko aapne provide me compA ko wrap kiye he and data compB me pass ho rha he
@kalonacharjee1729
@kalonacharjee1729 2 жыл бұрын
thankyou
@harshpatel3384
@harshpatel3384 Жыл бұрын
video start karo And BOOM guys .🌋🌋🌋
@yashkhanapara1273
@yashkhanapara1273 3 жыл бұрын
Sir redux pe video banao na ..
@pramayusadal1475
@pramayusadal1475 2 жыл бұрын
awesome
@fayjullahhaque1543
@fayjullahhaque1543 4 жыл бұрын
brother? bootstrap VS Css grid keya jeyada behtar hai? javascript Vs javascript library keya sikhneme acchi hogi?
@shubhamh7451
@shubhamh7451 3 жыл бұрын
css grid and vanilla js. Pehele basics acche karlo, fir libraries pe jana.
@smarTest1
@smarTest1 3 жыл бұрын
Sir , CreateContext only work on root component like "App.js" it is not working others Child Components. Sir please Help me. Please make a another Video on it 🙏
@krunaldhavle2020
@krunaldhavle2020 4 жыл бұрын
thank you bro i follow you on insta
@kushalshukla444
@kushalshukla444 2 жыл бұрын
nice
@mohammadsulemankhan58
@mohammadsulemankhan58 3 жыл бұрын
dear ye context ya hook website may kahan pay use hoty hy
@user-mh8po9qy9r
@user-mh8po9qy9r 10 ай бұрын
sir plz made a new vedio on new topic from scrach
@bhakuninavneet3906
@bhakuninavneet3906 4 жыл бұрын
Thanku sir. Sir react redux does the same thing which context api do???
@ThapaTechnical
@ThapaTechnical 4 жыл бұрын
It's depends on situation.. better try both n khood decide which one too choose
@bhakuninavneet3906
@bhakuninavneet3906 4 жыл бұрын
Ok thanku sir
@rishavsingh6893
@rishavsingh6893 2 жыл бұрын
Hey, I am trying to send a id from one component to another component using useContext from your video. The problem is there is a button on the component that is sending the id and in the receiving component it should change even after the page load. In short I click the button in the 1st component and trigger should be done in another component. Can you help me ?? It is just triggering that only once.
@arjunshivhare637
@arjunshivhare637 2 жыл бұрын
use props
@nahidkarimankur4828
@nahidkarimankur4828 3 жыл бұрын
we need redux tutorial please
@anayasaini8874
@anayasaini8874 4 жыл бұрын
Please make a video on how to create a job portal website .
@shivamshrivas9129
@shivamshrivas9129 3 жыл бұрын
I can create One in exchange of money!
@vishwajeet21sharma
@vishwajeet21sharma 4 жыл бұрын
Bhai please............ Django pe video le aao
@biswamohandwari780
@biswamohandwari780 3 жыл бұрын
Bhai KZbin ka clone project ek banao na
@keshavsingla9519
@keshavsingla9519 3 жыл бұрын
render is not function error aa rha hai siere
@ShubhamSharma-xo9fq
@ShubhamSharma-xo9fq 3 жыл бұрын
export is not working as it is only parsing default . It is not exporting any other . Why is it happening?
@bestideaforyou5514
@bestideaforyou5514 3 жыл бұрын
Reacharge or Aeps integrate website bnaye sir pls
@atultiwaree6023
@atultiwaree6023 Жыл бұрын
Feelings like majnoo got the laila 🤓
@user-lw8gn8xb2t
@user-lw8gn8xb2t 3 ай бұрын
@akshaychavadi2297
@akshaychavadi2297 20 күн бұрын
Sir i am getting only " my name is " and i am not getting my name and address in the output .. please explain where i made a mistake
@aizazwaheed2582
@aizazwaheed2582 2 жыл бұрын
what if we want to pass over data into the parent component.
@souvikpal106
@souvikpal106 2 жыл бұрын
It will be same. Create createContext in child component with provider in it(export it) Import that in parent and use useContext there
@Ch.202.
@Ch.202. 11 ай бұрын
why not async storage ?
@prabhanshu2251
@prabhanshu2251 3 жыл бұрын
How to use( use context) in es6 class based components ?
@govindabist3084
@govindabist3084 3 жыл бұрын
you can't use useContext in class component. All the hooks are only usable in functional components
@pawanpyakurel8229
@pawanpyakurel8229 4 жыл бұрын
daai jest ko video ni banaunu paro detail maa.
@dheerajrajput7058
@dheerajrajput7058 3 жыл бұрын
Video start at 6:10 😂
@waleedrajput6831
@waleedrajput6831 Жыл бұрын
Haha got it much thanks 🤣🤣🤣🤣
@Gunhawk02
@Gunhawk02 2 жыл бұрын
So there's no need of using . consumer? When we are using useContest hook?
@vaibhavidave4025
@vaibhavidave4025 2 жыл бұрын
yes
@Gunhawk02
@Gunhawk02 2 жыл бұрын
@@vaibhavidave4025 Thanks for the clarification.
@usmanqadeer1942
@usmanqadeer1942 Жыл бұрын
this usecontext is not working on child how can u apply
@SimranKaur-ti4jp
@SimranKaur-ti4jp 2 жыл бұрын
I am not getting the value on browser which i am passing as a prop I have created one app component nd passing value from it of FirstName by provider and created one B component which are receiving this value through useContext Nd render the B component inside index.js I am not getting the value which i am passing as props nd not getting any error as well Pls help here
@vineetjadhav7875
@vineetjadhav7875 Жыл бұрын
Same
@vineetjadhav7875
@vineetjadhav7875 Жыл бұрын
I think you miss to write return statement
@listingmaster15
@listingmaster15 Жыл бұрын
Have you find the solution because I am facing same problem
@IT__UzairFaquih
@IT__UzairFaquih Жыл бұрын
Happy Teachers Day 💖💖
@skvalavideo
@skvalavideo Жыл бұрын
Right or left thapa technical is best
@namanrajput7686
@namanrajput7686 2 жыл бұрын
video start at 6:28
@hasibkazi1379
@hasibkazi1379 2 ай бұрын
skip to 04:10 if you seen previous video
@shishirsaha8235
@shishirsaha8235 3 жыл бұрын
just wasted 4 hrs from your last video. getting error. typed as same as your code. still its giving me eror. render is not a function
@bhaskarartwork5762
@bhaskarartwork5762 2 ай бұрын
Original content start from 6:08 minutes 😂
@uoslegends7986
@uoslegends7986 Жыл бұрын
please
useEffect Hook in React JS in Hindi in 2020 #54
16:15
Thapa Technical
Рет қаралды 208 М.
Context API in React JS in Hindi in 2020 #51
25:10
Thapa Technical
Рет қаралды 246 М.
Stupid Barry Find Mellstroy in Escape From Prison Challenge
00:29
Garri Creative
Рет қаралды 11 МЛН
Balloon Stepping Challenge: Barry Policeman Vs  Herobrine and His Friends
00:28
Would you like a delicious big mooncake? #shorts#Mooncake #China #Chinesefood
00:30
ReactJS Tutorial  40 - React Context API 🔥
12:16
Technical Suneja
Рет қаралды 24 М.
DOM introduction in javascript | chai aur #javascript
18:26
Chai aur Code
Рет қаралды 154 М.
#33: Handling Events in ReactJS in Hindi in 2020
22:09
Thapa Technical
Рет қаралды 164 М.
Learn useEffect In 13 Minutes
13:38
Web Dev Simplified
Рет қаралды 810 М.
Stupid Barry Find Mellstroy in Escape From Prison Challenge
00:29
Garri Creative
Рет қаралды 11 МЛН