React tutorial in Hindi #41 Ref with Example

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024
  • In this react js tutorial for beginners series we learn what is ref and how to use ref it with interview questions in react js. This video is made by anil Sidhu in the Hindi Language.
    git link for this video
    github.com/ani...
    Playlist for complete React series in Hindi
    link • React tutorial for beg...
    Why use Ref
    Make Class Component?
    Ref use with example
    Interview Question.
    Join on Insta @php.step.by.step

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

  • @Abhishek_1_2
    @Abhishek_1_2 2 дня назад +1

    I was searching channel for react for a month I found besttttt nice explaination✨✨

  • @AmanKumar-ps8th
    @AmanKumar-ps8th 3 года назад +3

    Please try to make projects . Want to know how to make projects using state,setstate and props becz at the end these are only important terms which is useful for making projects. without implementing in projects we don't know how to implement these topics..please try sir..🙏

  • @tausifshaikh7544
    @tausifshaikh7544 3 года назад +6

    We can only use one ref per element.
    in class base component we will use ref while in function base component we will use useRef hook.

  • @hamaaritech8714
    @hamaaritech8714 3 года назад +3

    thank you umeed ha k ap complete course upload karengy sir keep it up

  • @aayushlamsal4868
    @aayushlamsal4868 3 года назад +4

    sir waiting for the use of spread operator to add,update elements in array

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

    Yes we can use multiple ref in one component

  • @syedfaizan5841
    @syedfaizan5841 17 дней назад

    ❤❤❤

  • @iamshivanigaur
    @iamshivanigaur 2 года назад +1

    i am getting an error when i am passing current.value in getval() function in console.log(this.inputRef.current.value). the error is uncaught typeError :can't read properties of null.

  • @shsikzuhair4393
    @shsikzuhair4393 2 года назад +2

    Good explaining

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

    you use usememo hook for avoiding unnecessary re rendering . but we can use useEffect hook also in place of usememo.? becaouse useEffect also take dependenci like usememo

  • @deepi.gentleman
    @deepi.gentleman Год назад +1

    Please make a course of Next js

  • @vikaspurohit5051
    @vikaspurohit5051 Год назад +1

    We can use it to get value like in Login page to avoid re-render?

  • @Armankhan-jy4eb
    @Armankhan-jy4eb 3 года назад +3

    useRef

  • @Armankhan-jy4eb
    @Armankhan-jy4eb 3 года назад +5

    1. plz make videos. Table Row , column, cell Data selection or show kese kare data ko ,, click par??
    2. id ko URL me kese get kare ??
    ya koi or tarika

  • @jonroni5756
    @jonroni5756 2 года назад +2

    Class component is easy than fuctional component

    • @rpw2k23
      @rpw2k23 Год назад +1

      I think functional component is easier than class based component

  • @satwikgawas5582
    @satwikgawas5582 3 года назад +1

    Hello sir waiting for PHP tutorial.

  • @yushiiism
    @yushiiism 2 года назад

    Not able to find answer to your interview questions

    • @Viralvlogvideos
      @Viralvlogvideos Год назад +1

      we can use as many as useRef or ref we want in function or class component.

  • @jaiprakashsharma7530
    @jaiprakashsharma7530 2 года назад

    sir I can not find u on Instagram