The useContext hook in React | Sigma Web Development Course - Tutorial

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

Комментарии • 211

  • @GauravBhatta-g5e
    @GauravBhatta-g5e 9 месяцев назад +68

    one of my friend said if you really focus on yourself you will find that there is not much of competition and also after seeing the views difference in all of your vedio i think i definately get what he was actually saying

  • @LearnWithManan.110
    @LearnWithManan.110 5 месяцев назад +13

    youtube pr is topic pe kam se kam 30 minutes ki long videos banaai he logon ne magar Harry bhai ne 15 minute mein un se bhi acha samjha diya. Lovo from Pakistan

  • @kaleemelahishaikh7990
    @kaleemelahishaikh7990 28 дней назад +1

    I must comment "Your way of teaching in an easy way with mix language manner is Best"
    Keep it up brother !

  • @KrishnaJaulkar
    @KrishnaJaulkar 3 месяца назад +6

    Best video on Context Hook till now

  • @md.marufbinsolaiman4038
    @md.marufbinsolaiman4038 5 месяцев назад +6

    One video is enough to learn useContext. Great video sir.

  • @truelyeager316
    @truelyeager316 Месяц назад +1

    Harry bhai its just awesome ,
    First video of react that I understand in one go. Hope u will continue this approach , first explain whole scenario with code and then its solution❤

  • @owaisnadeem2751
    @owaisnadeem2751 9 месяцев назад

    Humaray yahan Pakistan may bhi kuch Indians key trah key mentality k log hotay hain , jo her achay say achay level k course ko start krnay say bhi pehlay ye puchtay hain , k ye achi job or placement lagwaye ga ya nahi . agar wahin time learning may or practice may lagayein to beast ban jayein is field may . You are a real gem Sir 😍😍😍🥰🥰🥰🥰

    • @MohsinKhan-wv3ep
      @MohsinKhan-wv3ep 9 месяцев назад

      What do you mean indians ke tarah log ? 🤬

  • @Rohit_Rai901
    @Rohit_Rai901 9 месяцев назад +25

    Let's vote for Data Science course after sigma🔥🎉💪

  • @Basumatary-g6p
    @Basumatary-g6p Месяц назад

    this is the third video i watched on context API , and this was the best

  • @gajulalekhaj7088
    @gajulalekhaj7088 9 месяцев назад +3

    loved the video and this topic is released exactly before my exam
    thanku bhayya lotof love

  • @Islamicviralshort0a
    @Islamicviralshort0a 9 месяцев назад +5

    I loved this course and, I Saved 115 all your videos in my laptop. I don't want any type of paid course. #SigmaOp
    Pinn my Comment, Big Fan

  • @calisthenics5247
    @calisthenics5247 2 месяца назад

    After hitesh and piyush garg,watched your video and now finally im able to understand context api.

  • @bishalkumarshaw2789
    @bishalkumarshaw2789 4 месяца назад +1

    Ab samajh mein aaya context api. Thank you bhaiya ❤❤😊

  • @yoriichi2504
    @yoriichi2504 9 месяцев назад +3

    Hamara Teacher Kaisa ho? Harry bhai jaisa ho! ❤

  • @owaisnadeem2751
    @owaisnadeem2751 9 месяцев назад +4

    Love and respect from Pakistan Harry Bhai

  • @ElhaamAli-di5su
    @ElhaamAli-di5su 9 месяцев назад +4

    Hello Harry Bhai, Love from Gilgit Baltistan, this course is amazing and on video No. 78

  • @rohitstudyclube7270
    @rohitstudyclube7270 9 месяцев назад +5

    Salute for your hardworking and consistency ❤

  • @Ashish-sm8do
    @Ashish-sm8do 3 месяца назад +1

    best explanation so far

  • @sufiyanmogal1527
    @sufiyanmogal1527 4 месяца назад

    very simple explanation of context api , my suggestion for the viewers first watch the video and try by yourself

  • @laxmanbaisoya65
    @laxmanbaisoya65 2 месяца назад +1

    this line :- I WILL SEE YOU NEXT TIME ❤❤

  • @NadeemAbbas-d7x
    @NadeemAbbas-d7x 5 месяцев назад

    Very easy way for understanding this concept. Great Harry Bhai

  • @namjotsingh
    @namjotsingh 4 месяца назад

    Thank you Harry bhai. It is a bit complex for me, but slowly it will become easy. 👍👍

  • @Adithi-r4k
    @Adithi-r4k 4 месяца назад +1

    Thanks for the valuable content. Really feeling grateful to you.

  • @Asthetic._.Boi._.
    @Asthetic._.Boi._. 9 месяцев назад +5

    Sir aur Kitne tutorial honge aage please answer me.
    Love from Pakistan 💚❤️

  • @shubhraj2915
    @shubhraj2915 8 месяцев назад +1

    make one video on UseReducer as well

  • @Sandeep_Dhakad
    @Sandeep_Dhakad 9 месяцев назад +1

    “Learn as if you will live forever, live like you will die tomorrow.”

  • @BirdWise
    @BirdWise 5 месяцев назад

    thanks.. ab acha sa samj a gya ha context ka.❤

  • @NisarFoodShow
    @NisarFoodShow 9 месяцев назад +2

    The course is awesome ❤❤

  • @asimayub2825
    @asimayub2825 4 месяца назад +4

    how explained this better than hitesh sir

  • @ProgramingWithArpit
    @ProgramingWithArpit 9 месяцев назад +1

    Harry Bhai We Will Be Teaching you JavaScript react best and your courses is very good and website is good

  • @AsharMallick750
    @AsharMallick750 9 месяцев назад +1

    Title Should be "The useContext hook in React | Sigma Web Development Course - Tutorial #116"

  • @krishnakanttiwari517
    @krishnakanttiwari517 6 дней назад +1

    React OP
    Sigma Batch OP

  • @biggbossystumm
    @biggbossystumm 2 месяца назад +1

    mja aagya guru

  • @saumyajoshi-ym2os
    @saumyajoshi-ym2os 9 месяцев назад +4

    Sir now a days I am exploring angular spring boot full stack developement projects where i found these highlighting features
    1 razor pay
    2 login verification on mail
    3 more complex frontend part like links & all
    4 windows local storage for saving user credentials in browser
    Now my doubt is are these versatile range projects inspired by real mnc projects & can Learning it help freshers to develop projects in job ?

  • @priyanshutrivedi2357
    @priyanshutrivedi2357 8 месяцев назад

    Amazing explanation Harry Bhai ❤

  • @quiz_proo
    @quiz_proo 3 месяца назад

    #reactOp
    #best course - sigmawebdevelopmentcourse

  • @AbhishekKumar-ir3jk
    @AbhishekKumar-ir3jk 9 месяцев назад

    Code with Harry baba kii Jay🙌

  • @Hafijur0211
    @Hafijur0211 8 месяцев назад

    🎯 Key Takeaways for quick navigation:
    00:00 *🎥 Introduction to the useContext hook in React*
    - The video introduces the useContext hook in React.
    00:20 *🔧 Using Context API in React*
    - Context API allows passing data through the component tree without having to pass props down manually at every level.
    01:01 *🔄 Prop drilling in React*
    - Prop drilling refers to the process where props are passed from a component to its descendants down the component tree, even if intermediate components do not use the props.
    01:56 *🎯 Advantages of using useContext hook*
    - The useContext hook provides an easier way to access state across deeply nested components, avoiding prop drilling.
    02:23 *🚀 Practical demonstration of useContext in React*
    - A practical demonstration showing how to use the useContext hook in a real React application.
    03:07 *🛠️ Creating Components in React*
    - Demonstrates creating components in React.
    - Includes creating a component folder, adding components like Button and Navbar, and organizing the components.
    04:00 *🧩 Organizing Components with React Fragment*
    - Uses React Fragment to organize components.
    - Demonstrates importing and using a Button component inside another component.
    05:07 *📦 Creating and Using External Components*
    - Shows how to create an external component file.
    - Imports and uses the external component (Button) in another component.
    06:32 *🔄 Understanding the useContext hook in React*
    - Explanation of how to use the useContext hook in React.
    - Demonstrates how to pass and access props using useContext.
    - Shows how to use destructuring to simplify accessing props.
    07:12 *🔄 Implementing useContext in React components*
    - Demonstrates how to implement useContext in multiple components.
    - Shows how to access and display the context value.
    - Explains how to refactor code to use useContext instead of passing props manually.
    07:54 *🔄 Refactoring code to use useContext*
    - Shows the process of refactoring code to use useContext instead of props drilling.
    - Highlights the benefits of using useContext for cleaner code.
    - Explains how to organize code in folders and files for better structure.
    09:15 *📁 Context API Folder Structure*
    - Creating a folder called "Context" for organizing context-related files.
    - Avoiding confusion by keeping context-related files separate from other files.
    09:58 *🔄 Using Context in Components*
    - Creating a context folder with files for each context, e.g., "counter.js".
    - Importing the context in the main app.js file and using it.
    11:08 *🔗 Context Provider Usage*
    - Using the context provider to wrap the entire app in app.js.
    - Achieving a nested component structure where all components receive the context value.
    12:18 *🔄 Using the useContext hook in React*
    - Demonstrates how to use the useContext hook in React to access context values in nested components.
    13:38 *🖱️ Changing context value with a button click*
    - Shows how to change a context value by clicking a button, using the useState hook within the context provider.
    14:50 *🔄 Updating context value using setState function*
    - Explains how to update a context value using the setState function, ensuring the value is correctly updated and reflected in the UI.
    15:16 *🔄 Updating state in nested components with useContext*
    - Demonstrates how to update state in nested components using the useContext hook.
    Made with HARPA AI

  • @Apnavlog2001
    @Apnavlog2001 9 месяцев назад +1

    My first comment sir ko special thank you very much sir🎉🎉🎉🎉🎉

  • @artechgiants
    @artechgiants 9 месяцев назад +1

    Awesome video 😎 👍

  • @AartikSainiB21BB001
    @AartikSainiB21BB001 5 месяцев назад

    love you harry bhai from iit jodhpur

  • @AevyScience
    @AevyScience 5 месяцев назад +1

    Harry ki Guarantee ✅✅

  • @lokeshsingh8833
    @lokeshsingh8833 9 месяцев назад

    Title is incoreect Harry Brother

  • @RoboBros248
    @RoboBros248 Месяц назад

    React OP #harrybhai best youtuber and coding legend 💻

  • @wellserve2312
    @wellserve2312 4 дня назад

    Harry sir also make a video on useReducer hook

  • @niyamatalimallick7158
    @niyamatalimallick7158 9 месяцев назад +1

    Harry bhai keep it up

  • @codngwthubaid
    @codngwthubaid 9 месяцев назад

    Aryy Harry bhai title me useEffet hook aagya, lecture tho useContext ke bare me hain 😅😅

  • @hiphop861
    @hiphop861 9 месяцев назад +1

    thank you. Please add next js

  • @markiV643
    @markiV643 2 месяца назад

    sigma batch op>>>

  • @shriyasb2006
    @shriyasb2006 9 месяцев назад

    Sir after this react course please teach us about NextJs also...

  • @ArunKumar_237
    @ArunKumar_237 2 месяца назад

    thank you haris bhai

  • @adityanarayandewangan7811
    @adityanarayandewangan7811 9 месяцев назад

    Sigma batch OP
    React OP

  • @Mr.dev_15
    @Mr.dev_15 2 месяца назад

    Thks harry bhai.

  • @VPatil33
    @VPatil33 9 месяцев назад

    Helpfull Harry bhai❤

  • @goutamarya1452
    @goutamarya1452 9 месяцев назад +1

    Sir aapne isme use effect likha hai ye use context aayega❤❤

  • @yasinshaikh9823
    @yasinshaikh9823 9 месяцев назад

    There is draw back of usecontext ....it should pass state only in react component ...not in normal function

  • @chaurasiyaAayush-z2y
    @chaurasiyaAayush-z2y 9 месяцев назад

    Sigma batch op 🎉🎉

  • @frustratedengineer5988
    @frustratedengineer5988 9 месяцев назад +1

    @Harry Bhai I was using your 4 years old web development playlist..
    Front end only..
    Kaun sa follow karna hai abb😅

    • @Hatthetail
      @Hatthetail 8 месяцев назад

      New hi kro vese html or css old course me bhi boht achi ha or same ha.

  • @ghgltggamer
    @ghgltggamer 9 месяцев назад +1

    1st person , but i already have my own Framework which is like react bu different

  • @viralvaghela8402
    @viralvaghela8402 5 месяцев назад

    Thank You. For this awesome Video

  • @microsoftian
    @microsoftian 6 месяцев назад

    #CodeWithHarryRocks & #React Batch OP 🤟👍

  • @zuberkhan3050
    @zuberkhan3050 9 месяцев назад

    #SIGMA_BATCH_OP❤
    #JAVASCRIPT_OP

  • @tanmaypatil2517
    @tanmaypatil2517 9 месяцев назад

    Please make videos on redux. It is an important topic for react developers.

  • @FatimaSaleem-s6u
    @FatimaSaleem-s6u 3 месяца назад

    well explained

  • @csengineer8819
    @csengineer8819 2 месяца назад +1

    love you bhaiya

  • @mkumar363
    @mkumar363 9 месяцев назад

    course is awesome...

  • @AN_Bhagat
    @AN_Bhagat 8 месяцев назад

    #SigmaBatchOp
    #ReactOp
    #Harry sir❤❤

  • @aryansinha1818
    @aryansinha1818 8 месяцев назад

    It took me 55 mins to complete this video, I learned the shortcut method to open the project in the vs-code itself, without using file explorer, I was coding along, made a short soft note on useContext, passed it using 2 different ways and then the actual concept of useContext hook. I understood all but don't you think 50 mins is way too much time?

    • @NishaDubey8369
      @NishaDubey8369 3 месяца назад

      If you understood deeply than it's good

  • @aayushsubedi2879
    @aayushsubedi2879 3 месяца назад

    Thankyou bhai

  • @MuhammadAnas-ij6b
    @MuhammadAnas-ij6b 9 месяцев назад

    Harry bhai love form pakistan

  • @kingslydavid6148
    @kingslydavid6148 9 месяцев назад

    Coming for you sooon

  • @YasirSial-e8z
    @YasirSial-e8z 2 месяца назад +1

    react from Pakistan

  • @lathagm666
    @lathagm666 4 месяца назад

    Thank you

  • @uidesign1
    @uidesign1 9 месяцев назад

    Love you bhaiya ❤

  • @SiddharthaRay7
    @SiddharthaRay7 9 месяцев назад

    React OP❤

  • @vaghelabhautik6343
    @vaghelabhautik6343 9 месяцев назад +1

    SIR , PLEASE AB AK AI PE SERIES BANAVO NA
    JORDAR SERIES CHE
    SIGMA BATCH OP

  • @Code_gen
    @Code_gen 2 месяца назад

    Sigma batch op

  • @ramprasadyadav9303
    @ramprasadyadav9303 9 месяцев назад

    React OP !!

  • @MuskanKumari-lv5ul
    @MuskanKumari-lv5ul 9 месяцев назад

    Harry bhaiya how to apply in your company?...pls give us full video on it.

  • @arafatrahman8494
    @arafatrahman8494 9 месяцев назад

    #ReactOP #SigmabatchOP #Harrybhai #C.W.H #CodeWithHarry

  • @MuhammadNadir-f8f
    @MuhammadNadir-f8f 9 месяцев назад

    good bhai

  • @artechgiants
    @artechgiants 9 месяцев назад +1

    #React_op

  • @deepaman1649
    @deepaman1649 8 месяцев назад

    #React OP
    #CodewithHarry

  • @MonikaKumari-er4de
    @MonikaKumari-er4de 7 месяцев назад

    Thanks ❤️

  • @amantrivedi3573
    @amantrivedi3573 9 месяцев назад +1

    #doubt If we have useContext hook in react then why we use Redux for same operation?

    • @blackboxbs8642
      @blackboxbs8642 9 месяцев назад

      Usecontext wont work for larger global state

  • @nikhilyadav4496
    @nikhilyadav4496 9 месяцев назад

    React OP

  • @Code_gen
    @Code_gen 9 месяцев назад

    I Am coming wait for me❤❤

  • @pushpitjain1717
    @pushpitjain1717 3 месяца назад

  • @Coding_contents
    @Coding_contents 9 месяцев назад

    #React op❤❤

  • @prasenjitnayak_
    @prasenjitnayak_ 9 месяцев назад

    Heading mein useEffect hai bhaiya.

  • @whitemask-Community
    @whitemask-Community 4 месяца назад

    #SIGMABATCHOP 🔥🔥🔥🔥🔥🔥

  • @saiteja4516
    @saiteja4516 4 месяца назад

    REACT OP

  • @omgawade6152
    @omgawade6152 9 месяцев назад

    React op❤❤

  • @hannanprog
    @hannanprog 7 месяцев назад

    Sir, Which chrome theme are you using?

  • @vaghelabhautik6343
    @vaghelabhautik6343 9 месяцев назад

    bhai AI par series banavo ne

  • @ShahShaharti-fk1gk
    @ShahShaharti-fk1gk 9 месяцев назад

    Bhai Rona aa raha hai soch kar ki jis series ke pehle video pe 11 lakh views hai us hi series ke 113 ve video pe pure 1100 views bhi nahi hai (wrote this on evening 5:49 on 16 February ) 😢😢😢

    • @CodeWithHarry
      @CodeWithHarry  9 месяцев назад +1

      Dont worry I will complete this course. Pinky Promise 💓 :)

    • @Moiz_43
      @Moiz_43 9 месяцев назад

      @@CodeWithHarry bhai plz isme ek video lazmi add krna MongoDB ki file storing pr . plz Bhai Mai ek Item Stock manager bna raha hu with image card and mujhe images ko store b krna hai. plz bhai maine kafi research ki hai online lakin aap ke jaise kisi na b nahi sikhaya. Your Student..... and like comment if you think k bnau ga

  • @SwapnilGolhar
    @SwapnilGolhar 9 месяцев назад

    Hi bro ❤
    Is bar RUclips clone create Karo
    With full response like button login screen shot screen upload screen home screen posts screen and response nav bar database run time
    Like one page to another page Kasi transfer ho gaya
    ❤❤
    #SigmaBatchop

  • @RohanDasRD
    @RohanDasRD 9 месяцев назад

    Amazing

  • @Shashank-xr6or
    @Shashank-xr6or 5 месяцев назад

    react op!!!!

  • @cyber_nerd5844
    @cyber_nerd5844 9 месяцев назад

    #ReactOP 🎉