useCallback Hook in React in Hindi | Understand useCallback vs useMemo | React Hooks for beginners

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

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

  • @ABHISHEKKUMAR-kb2yp
    @ABHISHEKKUMAR-kb2yp 11 месяцев назад +56

    Maine react series k liye codewithharry, chai aur code, technical thapa, techgun sabhi ko try kiya samajh aaya but doubt rh jata tha but aapka video dekhne k baad doubt v nhi rhta. Thnx for your wonderful tutorial on react. you just talk on point, no extra line to add volume. just straight to the point.

    • @Yogitmamania-03
      @Yogitmamania-03 10 месяцев назад +2

      bhai nokri lgi khi mujhe bhi lgva do koi
      comnt krk cintact krle bhai

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

      Bhai chai aur bdia h ekdm

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

      No one can explain like you❤ thank you for this wonderful video.

    • @helloworld2054
      @helloworld2054 7 месяцев назад +4

      Sahi kaha bhai mai bhi codewithharry aur chai aur react dekhkar yaha aaya hu trust me she explains it in much simpler and easier way

    • @VISHALKASHYAP-tl1qg
      @VISHALKASHYAP-tl1qg 7 месяцев назад +1

      Mai bhi chai aur react ke baad yaha aaya hu ab jaake react samajh aari h

  • @bhagawatilalpatidar1615
    @bhagawatilalpatidar1615 Год назад +10

    Bahut si jagah pad liya or bahut si video dekhi but ye wala concept yahi clear hua, thanks 🙏

  • @confusedLadka
    @confusedLadka Год назад +5

    Mujhe Callbacks samjhne me bhut problem thi... But apne jese simplicity ke sath samjhaya wo ek bar me samjh me aa gya... Thankyou so much Yoshita.

  • @kishansen4420
    @kishansen4420 15 дней назад

    Thank u mam mujhe Callbacks samjhne me bhut problem thi bhut se videos dekhe but proper smj m nhi aaya but apne 13 minit k video's m bilkul ache se clear kr dia with usememo also
    once agin thank u 😊

  • @jitendrakumarjat855
    @jitendrakumarjat855 8 месяцев назад +5

    ma'am your explanation is superb jab se aapki video dekhi hai saare doubts clear ho gaye thank you so much ma'am for making this types of content
    ❤❤

  • @anish_is_here
    @anish_is_here 2 года назад +9

    Your hindi explanation is outstanding. Many people creates tutorial, but you have create it straightforward and simple in hindi. 🙂👍

  • @rikawrites7104
    @rikawrites7104 10 месяцев назад +2

    Thank you sooo much 🕺 bas aapne hi achhe se concept clear Kara 🤍

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

    I tried many videos on usecallback but how you explain it simply clear my concept about it thank you and keep it up.

  • @MaheshSharma-vh6dt
    @MaheshSharma-vh6dt Год назад +1

    Very nice yoshita ji use callback achche se samjh aa gya

  • @TarunKumar-cn6in
    @TarunKumar-cn6in Год назад +1

    Amazing Explaintnation

  • @dilipdwiveedi1611
    @dilipdwiveedi1611 2 года назад +9

    Yes your videos helped me a lot I m trying to study React js since last 6 months...but I learnt very easily within 2 days from your video...
    I love your explaining style... Its very sweet and short...Keep posting more and more videos of Reactjs...

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

    Thank you Yoshita, bahut achchhe se clear kiya aapne.....

  • @right-network
    @right-network 2 года назад +10

    Hii Yoshita i hope u are doing well.. the way u are explaining the things are superb and with in one time only u cleared all the doubts.. so thanx a lot and i am waiting more videos on table pagination , sorting , dropdown page filter... plz make one video on that... and your voice is so sweet ❤❤❤❤

  • @amityadav3712
    @amityadav3712 2 года назад +3

    Your pedagogy is superb and invincible..pls mam build more and more video video so that we can learn best from you.

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

      New video is coming on Saturday 😊❤️

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

    Thank you ma'am you helped me alot to learn usecallback hook. Your way to teaching and clearing the doubts are so osm. Once again thankyou!

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

    Crystal clear, Nicely explained.

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

    1:01 to just 30 sec----- if usememo nad usecallback function are increses the performance so why usecallback is neeeded??
    3:44 4:53---how componenent rerendered when button is clicked this is a problem of performance
    4:55 to 5:50---one solution is usememo to avoid the rerender function in the componenet
    that is ok but where we use useCallback hook ????
    5:56 to end where to use usecallback hook

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

    Your teaching way is very simple and excellent

  • @Player18345
    @Player18345 7 месяцев назад +1

    Really very nicely explained with examples appreciate your efforts ☺️

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

    useCallback is a React Hook that is used to memoize a callback function. This helps prevent unnecessary re-creations of functions on every render, which can be important for performance optimization, especially when passing functions as props to child components that are wrapped in React.memo or when the callback is a dependency of other hooks.

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

    Hii Mam Yoshita. I realiy appriciate you. I have understood the React hooks well by watching your React videos lecture. Your way of teaching is very good. Thank you

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

    i think the best totorial on youtube for react understanding. please keep it up...

  • @gajanankanekar9118
    @gajanankanekar9118 Год назад +2

    Thanks. Short and sweet explanation

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

    like always crystal clear😄

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

    Very well & simple explained . Easy to understand as well.

  • @kanaksinghal9748
    @kanaksinghal9748 Год назад

    Shree Sitaram JI
    Very well, Simple beginnerfriendly explaination

  • @rahulgiri6403
    @rahulgiri6403 26 дней назад

    lekin mam maine useMemo ka use kiya useCallback ke place par. Essi same program mai . tab bhi result same.
    const Navbar = () => {
    const [add, setAdd] = useState(0);
    const loop = useMemo(() => { //watch this
    //kooio
    }, []);
    return (

    {add}



    setAdd(add + 1)}>Add

    );
    };
    export default Navbar;

  • @animeshkumarjha4069
    @animeshkumarjha4069 10 месяцев назад +1

    Thankyou ma'am it was wonderful explanation. Thanks a lot

  • @mahimatolani813
    @mahimatolani813 6 месяцев назад +1

    Great explanation.. Just one doubt isme aapne usecallback me jaise btaya hai count pass kia h apan ne but count likhne k bina bhi jaise hi count ki state change hotti h child component rerender hota haii. aisa add k sath ni hotaa. I didnt understand the reason behind it can you please explain

  • @Meenu_Singh12
    @Meenu_Singh12 3 месяца назад +1

    nice video ever...

  • @basitali2962
    @basitali2962 Год назад

    Thank u mam just aap ki videos usememo and use callback hook literally understand hogaya thanks

  • @samarscript5824
    @samarscript5824 Год назад

    11:02 Itne time se jor jor se bata raha tha suna hi nhi aapne ....
    well done keep make such viedos 😉

  • @RamManoharKoruprolu
    @RamManoharKoruprolu 10 месяцев назад

    It's a geat vedio. Everying will say about redering.But the way u said about referntial equality is good thing.

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

    Your teaching style is awesome ❤❤❤

  • @MeerutWala-pl8nk
    @MeerutWala-pl8nk 3 месяца назад

    Underated channel ❤❤

  • @umeshkumarbedi7216
    @umeshkumarbedi7216 11 месяцев назад

    Aap bahut achchha padhate ho. Bachchha bhi apse sikh jayega. Bahut sweet bolte ho.

  • @shubhambhoir6559
    @shubhambhoir6559 2 года назад +13

    Appreciation is must and build more n more problem solving projects on react with redux It would be more enhancing !! :)

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

    Where are you yoshita till now, You are explaining so good, I like the way you had explained. Thank you so much yoshita.

  • @bilaljaved1900
    @bilaljaved1900 8 месяцев назад +4

    @Yoshita jain your tutorials are great, but little mistake here 5.25, you are wrapping Child component with React.memo not with useMemo hook

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

      same bro if you use it only for one time you don't need to impor

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

      bcz its increasing build size😊

  • @manyfacedlearning8102
    @manyfacedlearning8102 Год назад

    this is a good example for use callback and useMemo very easily understood

  • @ravikumar-sb2bt
    @ravikumar-sb2bt 2 года назад +1

    Mam actually jab apne dusre button par count={count} child component pass karne ke liye, pass karha tha bina koi dependency ke data fer bhi console per a raha tha actually we should try this
    yeh correct hai apke wala me data console per a raha tha try karna
    Please pinned Message for acknowledge

  • @muhammadaliawan9672
    @muhammadaliawan9672 Год назад

    appriciation also let me know memo should be remain there or should we remove it.

  • @LoserBoy-r2d
    @LoserBoy-r2d 4 месяца назад

    I love the way how u make me understand specially useCallBack

  • @prathamesh_7511
    @prathamesh_7511 10 месяцев назад

    Explained in detail! Thank You so much ❤

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

    plz make a resume level project using JS and react, the way u teaching pretty awesome😊

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

    i like your videos😍😇

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

    Easy to understand and concepts are very clear thanks 👍🙏

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

    we can alsoe use again usememo mam instead of calback in parent comp i try it and it is working

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

    It is helpful rtome for understand the difference b/w usememo and usecallback thank you

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

    it is not usememo in the child component, it is memo only.

  • @PankajPatel-zh8mf
    @PankajPatel-zh8mf 2 года назад +2

    Excellent explanation 🙏🌸

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

    Great channel for revision

  • @swapnilrai-x8i
    @swapnilrai-x8i 8 месяцев назад

    Clear All doubts Hats Off

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

    I have learned lot of things to you,thank you so much 🌼🙌

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

    Very very informative. Thanks ❤

  • @PraveenSuthar-hg9qw
    @PraveenSuthar-hg9qw Год назад

    learning prop ko agar ham useMemo bna le phir bhi vhi same kaam karega to main diffrence kya huaa useCallback and useMemo me?

  • @sarthakdas5859
    @sarthakdas5859 2 года назад +22

    One correction: React.memo and useMemo() are not the same thing. You got that wrong in this video, but the overall explanation was excellent.

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

    Hii yoshita batter content provided. I'm a angular developer

  • @birenchetry5531
    @birenchetry5531 Год назад +2

    Mam can we use useEffect instead callback

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

    Technical thapa or code with Harry video daikhi lykin clear naen huwa lykin ap ki video daikh Kar har cheech clear ho gai

  • @nilmandal1151
    @nilmandal1151 Год назад

    aapke video dekhkr samjmei aya usecallback ... last sare interview mei galat ans diya mein to 😂😂😂😂😂😂

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

    sab kuch ezepzee kr diya Yoshinaga mam (Sinchan's Teacher)

  • @maaznaveed-z2q
    @maaznaveed-z2q 11 месяцев назад

    Hi Yoshita i hope u are doing well,
    the way you are explaining is excellent But I want to know that we can also use useMemo also instead of useCallback so What is the big difference between usememo and use Callback

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

    Thanks for the great explanation. Your videos are short but has great content.

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

    12:08 while using callback fn you have written count in an empty array so that you can access the child component is it? Because without writing count in that array I could still print child component. Why is it?

  • @Zombiee-3pd
    @Zombiee-3pd Год назад

    Learning jo pass kiya hai props Child function m jo without props direct Learning likh h to aise kr skte hai kya please reply

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

    Good work ❤

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

    very easy way of explanation keep doing good work.

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

    Ma'am you are the best 👌

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

    Nice explanation , just one doubt , can we not make Learning function also using usememo with empty dependency so that it gets called only on mounting of component App.js, instead of usecallback . And let the child component use memo function. I Guess in this way also we can handle without using usecallback

  • @DEVENDRAKUMAR-ts3eh
    @DEVENDRAKUMAR-ts3eh 2 года назад

    Video helpful rha thanks provide the content theek hai 🤗😄

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

    nice explanation,

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

    What is trick to remember hooks in reactjs😊

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

    Really great video 😍

  • @shaiksajid613.
    @shaiksajid613. Год назад

    I have doubt without using memo !! In child component usecallback function doest work right ?

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

    Perfect job mam, Thanks a lot😊

  • @jeevanpanwar1993
    @jeevanpanwar1993 Год назад

    Mam Really Great explanation❤❤

  • @RaheelRashid-w1m
    @RaheelRashid-w1m 5 месяцев назад

    this video is very helpfull to me

  • @kforcode
    @kforcode 11 месяцев назад

    function in childA component is still wrapped in the useMemo hook. is it necessary to wrap it in the useMemo hook to use the useCallback hook?

  • @yogeshkumarpatil591
    @yogeshkumarpatil591 Год назад

    Good Video. Thank for making valuable video.

  • @AnjaliMishra-ec6kb
    @AnjaliMishra-ec6kb 6 месяцев назад

    I learned a lot from you.
    Thanks

  • @nishchaljain9351
    @nishchaljain9351 10 месяцев назад

    Beautifully explained....

  • @kartikparmar9959
    @kartikparmar9959 Год назад

    Love your videos sis.. So much simplified

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

    Dhanyawaad Guru...❤

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

    Amazing explanation

  • @JyotiKumari-ki4tw
    @JyotiKumari-ki4tw Год назад

    Very nice Explanation...Thanks

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

    Great video 💪✅💯❤️1️⃣

  • @abhidev488
    @abhidev488 Год назад +2

    Hi first of all thank you so much for this video it's you who cleared my doubts. Now I am curious how can we use useCallback if we are sending setAdd or may be setCount in Child component. In my project I have above situation. Thanks in advance

  • @kalpeshchouhan3803
    @kalpeshchouhan3803 Год назад

    Best explanation

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

    this video has been so much helpful to me .Thanks

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

    Great explanation...forced to subscribe.. awlaa lrki

  • @tech-no-logy-y1w
    @tech-no-logy-y1w 10 месяцев назад

    ❤Thank you mem wonderful explanation but I have a doubt why childA compo rendering while it's not mentioned in empty dependency in learning usecallback can you explain it or anybody guys.

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

    Your tutorials make clear understanding over the react hooks.

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

    good explanation with simple examples thank you mam .could you please make videos on react portals and modal.

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

    Really you explained so well ....that i dont even need to watch anyone else video.......will you please make a detailed videos on AgGrid React

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

    Mam how we can use useCallback hook in project means in which senario

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

    great explanation

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

    very helpFull get about Hooks tqMam

  • @rabindrakumarsharma27
    @rabindrakumarsharma27 Год назад

    You have also memo used in ChildA...?

  • @48-it-shivamkale94
    @48-it-shivamkale94 5 месяцев назад

    Thanks for such content.keep going👍