Learn useMemo In 15 Minutes - React Hooks Explained ( Frontend Interview Experience )

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

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

  • @TechnicalSuneja
    @TechnicalSuneja  2 года назад +10

    00:00 - Don't skip anything 🙏
    Aur kya haal sabke?
    btao next topic JS kon sa hona chahiye ??

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

      BANDELOG JS THORA BOHOT KAR LETE HAI VAI. LEKIN DSA MAI SABKI FATHTI HAI. TRULY BATANA APIKI BHI FHATTI HAI KYA???

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

      AP JAVA SE KYU NHI EK COMPLETE DSA KA COURSE OR SERIES LAUNCH KARO. HAAM GARRIBO KA VALA HO JAYEGA. GOD WILL GIFTED YOU A VERY BEAUTIFULL WIFE WHO REALLY LOVES AND CARE YOU. BAS DSA SIKHA DO USING JAVA.

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

      Routing and redux ke interview questions

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

      useCallback

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

      Sir plzzz time complexcity pe video banaiye plzz

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

    Hello Bhai, based on your content n videos i got 170% Salary hike.
    Thank you so much for your guidance and I would highly recommend everyone to watch your videos on Salary Negotiation (specifically for Negotiation)❤️

  • @abhisheksingh-uh9fc
    @abhisheksingh-uh9fc 11 месяцев назад +1

    Thanks bhaiya i m lot of try understand usememo concept but apka video dhekaha to matlab , fantastic!

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

    Aree fir se mazaaaaaaa aaa gaya..........Solid example with solid explaination .

  • @bantimarak78
    @bantimarak78 2 года назад +4

    Your tutorial video is very helpful for the ppl like us. Thank you so much. Keep it up

  • @nextleveltech267
    @nextleveltech267 11 месяцев назад +2

    Thank you for the explanation.. really helpful..

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

    jo example "alexa ko bhi nahi pata" waise type ka example diya hai guruji ne, Thanks ji

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

    Thanks sir for Teaching this from last 1 year I am learning this but I was not getting it logically you have made this to be memorable !

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

    finally useMemo aaya smjh you are god sir

  • @Pooja-jc9wq
    @Pooja-jc9wq 2 года назад +1

    Bhaiya ur way of teaching is👏👏

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

    Sir bolti band kardi bilkul apne .naman hai apko kya Samjhta hein sir superb 🙏

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

    I think the actual purpose of useMemo() is different, instead of relating it to slowness. If during next renderings the dependencies don't change, then useMemo() doesn't invoke the function but returns the memoized value.
    But if dependencies change during re-rendering, then useMemo() invokes the function, memoizes the new value, and returns it.
    That's the essence of useMemo() hook.

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

      and i think the actual purpose of use memo is to not polute with other function or event .

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

      that whats what every other hook does lke use effect but, he related it to slowness and explained that if gets delayed due to no dependecy change without delaying the rendering it will return the memoized value

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

    Amazing video 🔥🔥🔥🔥Thanks for clearing the concept bhaiya ❤️❤️

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

    well explained

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

    Great request u to make video on interview experience including all questions n how u answered. It can help all

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

    Badiya example Ajay!

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

    Thank you sir, great explaination.
    Alexa or bhi acha tha.

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

    Thanks sir what an explanation!!!

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

    ekdm chokas video bhaiya 😂😂😂

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

    macha rahe ho

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

    Good class sir.Thank you

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

    Very well explained 👏

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

    awesome teaching skill

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

    Great Video

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

    Thanks for that sir

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

    🔥🔥🔥🔥🔥🔥

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

    lovely bro

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

    Please make a video working with multiple developers in one project..... Full stack

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

    Sir, usecontext, usecallback hook pe v video bnao.
    Interview me bhot poochte hai ye topic.

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

    @Technical Suneja bhaiyaa ek suggestion h ki code mai or comments add krke ek github repo mai update kr do ya alg se google doc mai daal kr link daal do description mai

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

    👍😎

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

    SIRJI AP GREAT HO.. SALUTE FROM ARIJIT. useMemo() TO CHALO ATA HAI AND WO KOI BARI BAAT NEHI HAI. LEKIN PROBLEM HAI KI DSA NEHI ATA HAI. APKA WO SERIES STOP HO GAYA HAI.. KUCH USKELIE KARTE TO ACHA HOTA. DSA MERA BOHOT WEAK HAI, JITNA MERA TECHNOLOGY STRONG HAI. SO DO SOMETHING BROTHER. REQUEST FROM ARIJIT.

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

    Make more videos on questions sirji

  • @AmitKumar-mz2jg
    @AmitKumar-mz2jg 2 года назад +1

    Full stack developer/mern stack developer k liye pahle react.js seekhna chahie ya node.js

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

    Usecallback() pe video banana bhaiya

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

    Got the understanding but can you please explain why the isEven is being automatically called for counter two button click

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

      When any state changes in a react component. It re-renders the whole component. I think that's why isEven() function is getting called because counter2 is updating the state as well as whole component.

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

    ✌🏻✌🏻

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

    Thanks sir.

  • @AmitKumar-mz2jg
    @AmitKumar-mz2jg 2 года назад +1

    Arrange these in learning order of web development:
    1.Html,css,javascript
    2.Git github
    3.React.js
    4.Bootstrap
    5.node.js,mongodb
    Is this the correct order and if there is anything more to learn?

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

    please avoid "Welcome JI" instead of it You can use "Welcome Guys" ....By the way all your videos are very helpful

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

    Google kiye Sir nahi mila. Only filter hoke 1 td araha hai. All td chahiye. Or search wala td frist Row pe dekhe ga.

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

    Thank you bhaiya bhut acha explanation diye Thank you
    I had a question in in react developer roles lifecycle methods aaj bhi use hori hain kya ?
    useMemo ka lifecycle method bhi pdhlena chaiye interview se pehle ?

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

    Usememo vs usecallback difference?? Pls make video on these with example

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

      I already explained in this video 🙂

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

      @@TechnicalSuneja but sir we can do same thing as well usecallback hook so which senerio we have to used useMemo and usecallback ?

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

      @@ujjawalkapoor8342 IT'S DEPEND ON WHAT TYPE PROBLEM YOU ARE SOLVING.. IS PROBLEM VALUE ORIENTED OR FUNCTION ORIENTED. . useCallback() IS GENERALLU USED FOR COMPONENT FUNCTION RENDERING.

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

    Hlw bhaiya kya intership important role play krta hai apki first job ke liye or ya fir hamare projects inn sab ko pura kr dete hai

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

    Sir apka videos every day dekhta hoon.
    Sir ek task hai mera html table filter
    Using Javascript based on sort. Means sir ap jo search karenge o pahela row pe dikhaye ga or baki sabhi td uska niche rahega. Please help me.

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

    ❤❤

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

    mera oura page reload hone me time lag raha he.. uske upar kuchh kar sakte kya?

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

    Sir Angular Pr Full Course Le Aao Plzz Sir

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

      SIR KO ANGULAR NEHI ATA. REACT SE COMPROMISE KAR LE. EK HI TREE MAI KYA SAB FAL MILEGA. KYA GOD SAMAJH KE RAKHA HAI KYA??

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

      @@arijitroy5695 tere Se Pucha Kisi Ne Kaam Kr Apna

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

      @@Nitinn0202 BILKUL APNA KAM KAR RAHA HUN. BROTHER OF AJAY.

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

    What is difference between useMemo and useEffect, because useMemo is working same as useEffect

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

      Because useEffect does not store the value for the input, so if you use useEffect you've to recalculate the value also for the same input. Also the purpose of these two are totally different. Like UseEffect is used for handling side effects in your component like making network request, and all. but on the other hand useMemo cache the value for the input. I've made a video on this , if you want you watch it

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

    Hello,
    I want to ask one question...
    Can i use django in front end of web application?

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

    Hello Technical suneja Sir Your Videos help me a lot to prepare Js and Now i am Looking forward to watch this React js Interview series videos but i want to ask that is there only 4 videos in this series or more will come or this is enough topics to prepare..???

  • @HarshShukla-c3c
    @HarshShukla-c3c 10 месяцев назад

    I couldn't able to find the link of memoization. Can anyone help ?

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

    Hello, Sir
    I am 2018 passout graduate (Electronics and Communication Engg.). Sir I did some work in Python and Embedded field. Collaboratively I made many projects. I have some gap in work experience. and my last experience was in Embedded Python Development, but I want to be frontend developer and also made many projects using ReactJs. I tried to apply at many places but everywhere needs atleast 1+ years experience. Now I am jobless from past 3 months. Can you please suggest me what I can do now ?

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

    Hello Sir,
    You are doing well.... keep doing ❤️.
    I have 2 offer letter and suppose if get another interview call then HR or Manager asked why you are looking more offer if you have already 2 OR 1 offer letter. What should be the accurate answer of this question?

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

    where to find all these codes ??

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

    How to render dom using useMemo hook in react js ? can you explain please .

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

    why does the function gets called?

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

    How the useMemo is different from useEffects as it also renders on the basis of dependency.

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

      i think it adds up the functionality of caching the result.

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

      @@harrysaladfingers1515 use memo store the value in cache and next time it will return the value from cache and we call it Memoization value

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

      Because useEffect does not store the value for the input, so if you use useEffect you've to recalculate the value also for the same input. Also the purpose of these two are totally different. Like UseEffect is used for handling side effects in your component like making network request, and all. but on the other hand useMemo cache the value for the input. I've made a video on this , if you want you watch it

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

    Page isn't responding 😅

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

    Hi sir, I have offer frontend developer in start-up.
    They say that 3year service agreement . I am fresher. So I confused about this .
    What I do ?? Please tell me sir😕

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

    agar useMemo hook result ko cache kr rha hai to first wale button k click pr state update slow kyu ho rha hai??

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

      computation toh hogana bhai

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

      @@codewithbishal895 nhi jab result he cache kr liya to fir dubara computation kyu hogi?

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

    How can we get a job after bsc maths and knowledge with cerficate in phython can we apply for MNC

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

    Brother I have a problem...
    Main as a software tester bnna chahta hu..muze use interest hai...lekin mere background b.com hai...kya koi company muze le sakhti hai...as a tester ????
    Please brother help me...

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

      try to get entry into startups and slowly make this as your carrier. Follow ladder strategy.

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

    Hello Sir,
    I have a question, is there are any consequences if decline job appointment letter after accepting (if appointment letter mentioned specific class as " if I don't join on said date, need to pay damages and need to appear in court).
    Please clarify - Thanks

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

    Please sir now I am working as a fresher front end.

  • @codeofficial.1
    @codeofficial.1 2 года назад

    Hi bhaiya
    Mai abhi btech cse 1st year me hu to
    Cse me core subject kon kon se hai jispe focus karna chahiye please help me

  • @DeepakGupta-hj2dv
    @DeepakGupta-hj2dv 2 года назад +1

    Usecallback hook next video

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

    bhaiya aur videos banao please

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

    UseReducer hooks

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

    but this problem can be done with useEffect hook

  • @Himanshu-sq6zx
    @Himanshu-sq6zx 2 года назад

    Hii sir, I am in infosys. It's been one year I am in bench,no work assigned. I want to switch. Which backed framework should I learn in terms of salary and demand. I have learned java and know bacis of spring boot. Should I continue with spring or start with nodejs as it is in more demand.

    • @vaibhav.v6403
      @vaibhav.v6403 2 года назад

      Then they used to provide salary to you?

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

    But why react is calling other functions?

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

    Bhai pls ans my this doubt......I am getting IT branch in a good private college (KIIT,odisha) should I take it or.....search for cse in some other college??? .....pls ans as my online counseling is going on !!

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

    why would u use react for websites ...its not meant for seo

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

    Bro I need ur help

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

    okay

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

    Can I get your github sources code.

  • @DkAg-z4u
    @DkAg-z4u 6 месяцев назад

    ap apna face thora chota rakhe right side me . code thik se dikh ni raha

  • @pradeepchalla789
    @pradeepchalla789 2 года назад +5

    I think with useEffect also based on dependency value we can execute any function, so what is the difference between useMemo and useEffect

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

      +1

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

      Useffect is called after the component render. But useMemo will be called before render.

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

      Because useEffect does not store the value for the input, so if you use useEffect you've to recalculate the value also for the same input. Also the purpose of these two are totally different. Like UseEffect is used for handling side effects in your component like making network request, and all. but on the other hand useMemo cache the value for the input. I've made a video on this , if you want you watch it

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

      Because useEffect does not store the value for the input, so if you use useEffect you've to recalculate the value also for the same input. Also the purpose of these two are totally different. Like UseEffect is used for handling side effects in your component like making network request, and all. but on the other hand useMemo cache the value for the input. I've made a video on this , if you want you watch it@@anantjain9679

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

    Apke Kam me Jo Vighna dal rha hai bar bar uspe usememo laga do

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

    Apreciando a una mujer tan hermosa. 2:7 sentadillas son unos PORNTINDER.Uno muchas y un buen ejercicio. 5:25 Se deja ver que hay muy buenos resultados 😍👍 Saludos desde la Cd.. de world losh mortales abian apreciado tan hermosa mujer

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

    What if I use useeffect instead of usememo and pass counterOne in dependency array? It will work in the same manner? @TechnicalSuneja