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 - Наука та технологія
Amazing video! Tutorial on flipper would be great to see 🤩
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.
Serious stuff. Thanks for sharing.
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!
Thanks a lot for this. Apply this ASAP
Really good example and amazing explaination 👍👍 Much appreciated.
Amazing and super well explained thanks !!!
Thank you for this
This is going to be very helpful
that was a clear explanation, thanks, love it.
Amazing video, Good job
Some quality stuff mate!!
Good explanation to optimize rn 🤝
Thank u for the really good example bro 🤘
Wow , really thanks man i needed that a lot!
Glad it helped!
Well understood, great video
Great video. Thanks a lot.
Mesmerizing
This was awesome, thanks!
flipper plugin!!! Maybe it's still relevant for you
Learn something beautiful for my react native projects. Kudos bruv
Glad you learned something new 🚀
Interesting will explore the Flipper too 😉
well understood!
Very easy to understand :)
Amazing from my crew
Vadim if you can make a booking app. We will be waiting
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
Yes please
Amazing
Amazing thanks you ❤
Excellent explanation bro never show in pratical way in UA-cam ❤❤❤❤
Powerful video 👌🏼💪
Thank you 🙌
Nice explanation and example, needs more clarification on useMemo vs useCallback.
Thank you 👍👍👍
U R D BEST!
Usefull video 👌
We need an explanation on "rendered fewer hooks than expected" This is killing me.
Great, Is there any article where i integrate or use flipper into my react native app.
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
Thank you
where to download the performance test tool in your video? I also want to test my react native performance like you
thanks
Can you do a video how to add RN Perf monitor in react native project?
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 ?
Coollll this's i find... mantap mas bruh
Thanks for such a helpful video, I'd like to know if you are using Expo or React Native CLI on this video
Thanks! We’re using React Native CLI here
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
Cool😎
Awesome! What is the tool you're using to check performance?
its called Flipper
can you please make a guide about flipper?
Is this valuable for large scale dynamic applications.
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
Memo also works when the component props includes an array?
Last time I tried work with flipper but it was very hard to start it. Is it easy now?
Great work buddy, Love from Pakistan 💚🤍
Thank you!
Great example! Could you tell me the name of the app that you are using for performance check? thank you.
flipper
Performance montor is not showing in disabled section in the flipper... Anything I need to add from the code side.
Hello i'm using same technique that you shwon still my logs appear every time on click can you help me ?
What is the applications name by which you tested your applications performance? Can you please share it thanks 😃
Flipper
please make a file transfer app, a vpn app in react native without aws
How do I install flipper on expo?
'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.
my react natiave app is showing that not able to use Rn perf monitor , why so?
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?
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.
May i know your debugging tools ?
hello may i know what platform you are using to test that react native app?
In the following question..do you have github for that demo?
Need flipper tutorial
why not use flashList ? instead of flatList
We have a separate video about FlashList, this one we wanted to keep focused on memo, useMemo and useCallback
Can you please just increase the font size its really hard to see.
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.
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.
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
wow 🫀