10 - What is the useRef hook in React - When to Use useRef - useState vs useRef - Reference in React

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ย. 2024

ความคิดเห็น • 52

  • @random2059
    @random2059 ปีที่แล้ว +4

    Bengali people have some connect to bengali , you explaoned very good more over that as i am bengali , i could connect with every single words of your 💕💕 Thank you

  • @spectacular5595
    @spectacular5595 5 หลายเดือนก่อน +3

    you made my day fully usable 😀 . i really appreciate your work .

    • @tapasadhikary
      @tapasadhikary  5 หลายเดือนก่อน +1

      Thanks a lot, glad it was helpful to you.

    • @spectacular5595
      @spectacular5595 5 หลายเดือนก่อน +2

      I was enjoying while studying with you. Thank you for being part of my success.

  • @neeraj-1923
    @neeraj-1923 11 หลายเดือนก่อน

    I've seen a lot of videos on TH-cam + udemy but I got confused about the usage. I understand a little bit of the concept but after this video, it cleared my all doubts. Thanks a lot👍.

    • @tapasadhikary
      @tapasadhikary  11 หลายเดือนก่อน

      You are most welcome 🤗

  • @gto433
    @gto433 8 หลายเดือนก่อน +1

    I request you to talk about concepts like immutability of react and functional programming vs oops in general

  • @nikhilm5651
    @nikhilm5651 2 ปีที่แล้ว +1

    Got a good clarity between useeffect and useref nice information and explanation

  • @farukabdullamunshi8358
    @farukabdullamunshi8358 2 ปีที่แล้ว +2

    Great Tutorial about `useRef`.

    • @tapasadhikary
      @tapasadhikary  2 ปีที่แล้ว +1

      Thank you Faruk for watching and constant support ❤️

  • @jlvbcoop
    @jlvbcoop 2 ปีที่แล้ว

    Yes, I find this video useful. To persist information in the rendering processes we must use useRef which is totally decoupled from the rendering.

  • @shakyasarkar7143
    @shakyasarkar7143 ปีที่แล้ว +1

    Awesome explanation. Really useful for in-depth analysis for a lifetime and interviews!

  • @shivaansh98
    @shivaansh98 2 ปีที่แล้ว +1

    Extremely informative! Thanks for the video.

  • @takshpatel2667
    @takshpatel2667 10 หลายเดือนก่อน +1

    very clear explanation. Best serios for react .

    • @tapasadhikary
      @tapasadhikary  10 หลายเดือนก่อน

      Cool 👌…. Please let others know about the series ❤️🙏

  • @akshaypatil8393
    @akshaypatil8393 ปีที่แล้ว +1

    it is best Explanation sir.. please make video about react router about sir.

  • @chromepos
    @chromepos 2 ปีที่แล้ว +2

    If you want to update data and cause a UI update, useState is your Hook. If you need some kind of data container throughout the component's lifecycle without causing render cycles on mutating your variable, then useRef is your solution.

  • @21Moudud
    @21Moudud 7 หลายเดือนก่อน +1

    Just awesome boss

    • @tapasadhikary
      @tapasadhikary  7 หลายเดือนก่อน

      Thank you boss ❤️

  • @yashsagar734
    @yashsagar734 ปีที่แล้ว +1

    Thank you

  • @jatilyadav4000
    @jatilyadav4000 ปีที่แล้ว +1

    Amazing video... Explaination is best

  • @aravindasokan4392
    @aravindasokan4392 2 ปีที่แล้ว +1

    great stuffs to learn and to understand better. could you please post some videos related to JEST for writing testcases!

  • @letshope5646
    @letshope5646 9 หลายเดือนก่อน +1

    thanks sir..nice explanations...

    • @tapasadhikary
      @tapasadhikary  9 หลายเดือนก่อน

      Tank you, and you are most welcome.

  • @siddhartharaja9413
    @siddhartharaja9413 11 หลายเดือนก่อน +1

    Amazing

  • @tedogirma
    @tedogirma ปีที่แล้ว +1

    Loved it boss thank you

  • @vijaybenz9741
    @vijaybenz9741 8 หลายเดือนก่อน +1

    useful

  • @sanyamjain4777
    @sanyamjain4777 2 ปีที่แล้ว +2

    Is this course going to be in depth and if i take this will i become interview ready?? Please guide me i dont like udmy courses, is this gonna Equivalent to top udemy course

    • @tapasadhikary
      @tapasadhikary  2 ปีที่แล้ว +1

      So, three essential questions, Sanyam. Let me try answering them.
      - Yes, each of the videos of this series aims to touch the fundamentals, so it is in-depth, and it will continue to be that way. It is one of the reasons that most of the videos from this channel are a bit longer because knowledge sharing and grasping take time.
      - The videos from this series will make you confident about the subject(React). If you also attempt the Quizzes and Tasks I give the community channel, it will make you feel stronger about it. So, I believe you will be able to face interview questions more confidently.
      - I do not call this series a course yet. It is a series of videos to fundamentally make you a strong React developer. That's the motto. It is no way to replace and compete with any existing or upcoming courses. My suggestion is, "time is precious". So take the one you feel good for you.
      Happy Learning.

  • @abhijeetkaushal1343
    @abhijeetkaushal1343 10 หลายเดือนก่อน

    what is 'prev' inside setCount..? I understood the code but you didn't declared/initialized 'prev' anywhere so how were you able to use it? is it predefined?

    • @kirankharsel2368
      @kirankharsel2368 8 หลายเดือนก่อน

      Here we pass a callback function to the setCounter() method gives us the previous value to use
      Yes it is predefined

  • @dineshsunny18
    @dineshsunny18 2 ปีที่แล้ว +1

    Where can I see about the UseContext Hook?

    • @tapasadhikary
      @tapasadhikary  2 ปีที่แล้ว

      You will get it after the useCallback in about 7 data from now

    • @tapasadhikary
      @tapasadhikary  2 ปีที่แล้ว +2

      It's available now.

    • @dineshsunny18
      @dineshsunny18 2 ปีที่แล้ว

      @@tapasadhikary Thank you :)

  • @nitishkumargarikapati7767
    @nitishkumargarikapati7767 ปีที่แล้ว

    the reference value is persisted b/w the renders