React Native Performance Optimisation (useMemo, useCallback, memo)

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ต.ค. 2022
  • In this video, we'll show you how to improve the performance of your application by employing three distinct techniques: useMemo, useCallback, and memo.
    By the end of this video, we had increased our application's performance score by an insane +301,71%, so make sure to follow along to do the same for your app!
    📚 Join the waitlist for "The Full-stack Mobile Developer" to be notified when we rerelease it:
    academy.notjust.dev/
    💬 Join the notJust Development gang and let's build together
    / discord
    Tag me on social media when you finish this build, and I will give you feedback on your project.
    ➤ / vadimnotjustdev
    ➤ / vadimnotjustdev
    ➤ / vadimsavin
    ➤ / vadimnotjustdev
    This video is not sponsored by anyone
    Disclaimer: This build is for educational purposes only!! All views, opinions, technology choices expressed in this video are my own and do not represent the views, opinions, technology choices of any entity whatsoever with which I have been, am now, or will be affiliated.
    #VadimSavin #notjustdev #reactnative
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @mateuszpusiewicz8851
    @mateuszpusiewicz8851 ปีที่แล้ว +24

    Amazing video! Tutorial on flipper would be great to see 🤩

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

    Thanks a lot for this. Apply this ASAP

  • @WOW-fo8gx
    @WOW-fo8gx 8 หลายเดือนก่อน

    Great video. Thanks a lot.

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

    Thank you for this
    This is going to be very helpful

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

    Really good example and amazing explaination 👍👍 Much appreciated.

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

    What a video! Last 2 weeks I was struggling with react native performance issue. I search in google and everywhere but finally I found a complete solution. Thanks dude!

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

    Serious stuff. Thanks for sharing.

  • @eduardocabrera9710
    @eduardocabrera9710 6 หลายเดือนก่อน +1

    Thanks for the clearest explanation I have ever seen until now. Those examples were amazing, besides the demonstration convinced me to stop ignoring those react tools anymore.

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

    that was a clear explanation, thanks, love it.

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

    Amazing and super well explained thanks !!!

  • @HaiTran-tz7hm
    @HaiTran-tz7hm ปีที่แล้ว

    Thank u for the really good example bro 🤘

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

    U R D BEST!

  • @comment-dev
    @comment-dev ปีที่แล้ว +1

    Good explanation to optimize rn 🤝

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

    Thank you 👍👍👍

  • @parthkolgiri7501
    @parthkolgiri7501 6 หลายเดือนก่อน

    Some quality stuff mate!!

  • @SahilSharma-ws1oz
    @SahilSharma-ws1oz 3 หลายเดือนก่อน

    Amazing thanks you ❤

  • @minusmarigold98
    @minusmarigold98 2 หลายเดือนก่อน

    Wow , really thanks man i needed that a lot!

    • @notjustdev
      @notjustdev  2 หลายเดือนก่อน

      Glad it helped!

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

    Mesmerizing

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

    Learn something beautiful for my react native projects. Kudos bruv

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

      Glad you learned something new 🚀

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

    Amazing video, Good job

  • @manikantsharma6108
    @manikantsharma6108 5 หลายเดือนก่อน

    Well understood, great video

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

    Amazing

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

    This was awesome, thanks!

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

      flipper plugin!!! Maybe it's still relevant for you

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

    Hello, would it be possible to wrap the flatlists renderitem in useCallback function instead of using the Reat.memo on the child component? Would it have the same result ?

  • @alejandrovegaaguillon1543
    @alejandrovegaaguillon1543 ปีที่แล้ว +3

    Very useful video, I would love to see more of this

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

    Interesting will explore the Flipper too 😉

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

    well understood!

  • @sykn3z
    @sykn3z ปีที่แล้ว +13

    Great example and thank You!!!! Can You please do it with more complex ítems. Using custom hooks, redux selectors and fetching data. It would be extremly helpful

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

    Memo also works when the component props includes an array?

  • @ajagannath898
    @ajagannath898 5 หลายเดือนก่อน

    Excellent explanation bro never show in pratical way in TH-cam ❤❤❤❤

  • @geohn8238
    @geohn8238 3 หลายเดือนก่อน

    Powerful video 👌🏼💪

    • @notjustdev
      @notjustdev  3 หลายเดือนก่อน

      Thank you 🙌

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

    Nice explanation and example, needs more clarification on useMemo vs useCallback.

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

    We need an explanation on "rendered fewer hooks than expected" This is killing me.

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

    Amazing from my crew

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

    Great, Is there any article where i integrate or use flipper into my react native app.

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

    Thanks for your good tutorial I have a request for you can you please make a react native app which uses the react-query along with AsyncStorage persistance to make offline mutations that resumes after going back online thanks in advance

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

    Very easy to understand :)

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

    Thank you

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

    'We are trying to check if those objects are allocated in the same space in memory", I heard this at 7:18 sec in video.
    Same space in memory or same object in memory ??
    Got confused here, please clarify.

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

    Can you do a video how to add RN Perf monitor in react native project?

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

    Usefull video 👌

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

    Is this valuable for large scale dynamic applications.

  • @JkeyKong
    @JkeyKong 6 หลายเดือนก่อน

    where to download the performance test tool in your video? I also want to test my react native performance like you

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

    Thanks for such a helpful video, I'd like to know if you are using Expo or React Native CLI on this video

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

      Thanks! We’re using React Native CLI here

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

      Thanks Lukas, I’d really like a video about config Flipper with Expo, I haven’t found any clear tutorial about it. Just a suggestion heheh 😆 thanks for answering

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

    Performance montor is not showing in disabled section in the flipper... Anything I need to add from the code side.

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

    my react natiave app is showing that not able to use Rn perf monitor , why so?

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

    Last time I tried work with flipper but it was very hard to start it. Is it easy now?

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

    Good sir
    can you please send me tha video link that define pagination in flast list because i see a large number of list is bad performance in flatlist

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

    thanks

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

    Great work buddy, Love from Pakistan 💚🤍

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

      Thank you!

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

    can you please make a guide about flipper?

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

    Hello i'm using same technique that you shwon still my logs appear every time on click can you help me ?

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

    Coollll this's i find... mantap mas bruh

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

    Awesome! What is the tool you're using to check performance?

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

      its called Flipper

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

    Cool😎

  • @aidanwalker3058
    @aidanwalker3058 6 หลายเดือนก่อน

    How do I install flipper on expo?

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

    Need flipper tutorial

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

    May i know your debugging tools ?

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

    please make a file transfer app, a vpn app in react native without aws

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

    Great example! Could you tell me the name of the app that you are using for performance check? thank you.

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

    What is the applications name by which you tested your applications performance? Can you please share it thanks 😃

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

    hello may i know what platform you are using to test that react native app?

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

      In the following question..do you have github for that demo?

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

    I am updating location state via watchposition, and a component that does not include location props is re-rendering anyway, what can be the reason?

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

      Is this a nested component? Then you should wrap it with memo and see Magic ;)
      When state changes - it will re-render component, hence it will also re-redender nested components as well.

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

    Can you please just increase the font size its really hard to see.

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

    why not use flashList ? instead of flatList

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

      We have a separate video about FlashList, this one we wanted to keep focused on memo, useMemo and useCallback

  • @bilalrasool8696
    @bilalrasool8696 6 หลายเดือนก่อน

    Can you assist me in determining which version of Flipper is suitable, considering that Flipper has been deprecated. Additionally, React Native Debugger is not functioning with Expo SDK 49, and I'm encountering challenges using Redux in Expo SDK 49.

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

    I declined usage of absolutely all react hooks. Even useState. Only props for decompositions. The only one render at the start. There is a game changer, Reanimated. It's really possible.I've forgot all these re-render nightmare. And have got absolute magic of animations, transitions, swipes and so on. So I heavily recommend research Reanimated in depth instead of all these stuff in video.

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

    You dont need memo for this FFS dude, you just need to put that component where you have state changes in seperate component thats it, using memo stuff for everything it shows you have no clue what you doing

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

    wow 🫀