A Guide to React Native Optimisation

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ม.ค. 2025

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

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

    Dude, never stop making content. You are Awesome.

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

    Your way of explanation is so calming!

    • @eveningkid
      @eveningkid  3 ปีที่แล้ว

      I’m very happy you liked it! I think it’s important to keep it simple and calm to learn things well. Glad it found you well Mukul :)

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

    Always happy you do all the reading and give me the TLDR; ❤️

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

      haha, it took me countless hours, lucky you!

  • @roboto9008
    @roboto9008 3 ปีที่แล้ว

    Production quality of this content is top tier

    • @eveningkid
      @eveningkid  3 ปีที่แล้ว

      Thank you, this was indeed a lot of work! Very happy you liked it :)

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

    Great video. Not only you did a great job TLDRing the Callstack guide but also represented it so well. Kudos dude!

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

      Thank you Luiz, I'm not used to see you on youtube! :)

    • @luiznickel
      @luiznickel 3 ปีที่แล้ว

      @@eveningkid I'm around :) keep up with the good content man!

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

    simple, concise and so well explained. It's always great seeing your content maintaining its amazing quality standard. Looking forward to more!

    • @eveningkid
      @eveningkid  3 ปีที่แล้ว

      I see you're still around Usama, thank you for the kind words! Always trying to improve the videos. I'm glad it's appreciated :)

  • @ludwigvillalba1886
    @ludwigvillalba1886 2 ปีที่แล้ว

    Thanks for sharing!

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

    The first point is very important while working with optimizing both React and React Native. Not just reducing the re-renders but also lookin into if you can combine together or use useCallback and useMemo (don't overdo these things also)
    Another great and "smooth" video. Excited for this series.

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

      You're exactly right! Thanks, this one was a lot of work to keep it smooth. Happy you liked it :)

  • @MadeWithMatt
    @MadeWithMatt 3 ปีที่แล้ว

    This material is so important, thanks for making a recap of the guide. I'm excited for more about optimization 🔥

  • @bhakti214
    @bhakti214 2 ปีที่แล้ว

    what an amazing advice!, thanks man

  • @뱅수는대근혀
    @뱅수는대근혀 2 ปีที่แล้ว

    Thank you

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

    Underrated Channnel

    • @eveningkid
      @eveningkid  3 ปีที่แล้ว

      Man I hope TH-cam could give me a little hand on this!

    • @roboto9008
      @roboto9008 3 ปีที่แล้ว

      @@eveningkid gotta get a medium article or run some ads maybe

  • @just_frontend_things142
    @just_frontend_things142 2 ปีที่แล้ว

    Really nice work..

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

    Great info brother.
    There are some points i would like to add :
    1. We can use RecyclerListView instead of Flat list. It would render the items fast.
    2. We can create our own custom hooks or context api for using state over redux because redux can be a little heavy at times.
    3. For checking re rendering over all components we can create our own hook using useRef and increasing the current ref value on each render and keep the updated count.
    4. Enabling Hermes and using the V8 engine smoothes overall performance.
    5. Making better use of useCallback and useMemo
    6. Increasing heap memory size for android could be beneficial too.
    7. Try never to pass {...props} to child components, it would be better to share the common global state instead of passing down props.

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

      Great additional info, there's actually more to come in next episodes (about Hermes also). I hope people see your comment, thank you for taking the time to share these :)

  • @m00nreal
    @m00nreal 3 ปีที่แล้ว

    Just in time for the optimizations we are making in our app! Awesome!

    • @eveningkid
      @eveningkid  3 ปีที่แล้ว

      Wow, that was unexpected! Cool, hope this helps you in a way :)

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

    Excellent piece! And thank you for reminding me that I have to fix that constant re-rendering when I type anything in the TextImput... hehe

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

      I think we often forget about the text input one! Thank you for the kind words, I always appreciate it :)

  • @simonhochrein9861
    @simonhochrein9861 3 ปีที่แล้ว

    Great information. Thanks!

    • @eveningkid
      @eveningkid  3 ปีที่แล้ว

      Thank you Simon :D

  • @khanhduy3364
    @khanhduy3364 3 ปีที่แล้ว

    so awesome

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

    Really helpful.

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

    absolutely amazing!

    • @eveningkid
      @eveningkid  3 ปีที่แล้ว

      Thank you Alexander! It says you've been on the channel for 3 months. Dang, that's awesome :)

  • @planetmall2
    @planetmall2 3 ปีที่แล้ว

    This is so awesome. Great job!

    • @eveningkid
      @eveningkid  3 ปีที่แล้ว

      Thank you Dan! :)

  • @-seven-
    @-seven- 3 ปีที่แล้ว

    This is it bois! The go to optimisation series 🥳🥳🥳
    Have a lot of juniors in my team struggling with optimisations, going to share this to oblivion lol.

    • @eveningkid
      @eveningkid  3 ปีที่แล้ว

      Wow that's really cool Sanu! Are you in a big team of RN devs? :)

    • @-seven-
      @-seven- 3 ปีที่แล้ว

      @@eveningkid hahaha depends on if you can call a team of 8-10 big 😇

  • @raminafandiyev1346
    @raminafandiyev1346 3 ปีที่แล้ว

    Great work! Thanks for the video

    • @eveningkid
      @eveningkid  3 ปีที่แล้ว

      Thank you Ramin, my pleasure :)

  • @DrNabeel20
    @DrNabeel20 3 ปีที่แล้ว

    Amazing! 🔥

    • @eveningkid
      @eveningkid  3 ปีที่แล้ว

      Thanks Nabeel :)

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

    This is what i exactly needed.. Also it will be very helpful if you can make a dedicated video and explain how and when we should memorize the functions and components and also the pure components.
    I was working on an Instagram clone..
    And day by day its becoming slow.sometimes Clicks respond after 2-3 seconds. I really couldn't understand what am i doing wrong. It has all the functionalities Instagram have.. Probably 60+ screens and 80+ components.
    Some of things got cleared today.
    I was not using redux.
    Not using memorization.
    Not using pure components.
    I'll work on these now.
    Thank you for this video ❤️

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

      Wow, +60 screens is a lot indeed! Very happy this found you well. I'll see what I can do for a "memo" tutorial. There's just so much on my plate right now, it's hard to do it all! :)

    • @AkshatKumawat
      @AkshatKumawat 3 ปีที่แล้ว

      @@eveningkid i understand.. Although this video clears the picture alot. ❤️

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

    Man, I'm struggling with sticky headers and scroll header animations, would love a tutorial on that.

    • @randomicallyrandom
      @randomicallyrandom 3 ปีที่แล้ว

      Did you find something? Im also struggling with it, the onScroll from FlatList doesn't work so smoothly on android devices ): Im trying to make a sticky header too.

    • @aragothkarsen5010
      @aragothkarsen5010 2 ปีที่แล้ว

      I also was struggling, the key is to create an animated value and use it inside scroll event to track when the user scrolls and bind it to the view you want to animate. On the animated style you play with the input/output range to get the sticky header

  • @excalibur885
    @excalibur885 3 ปีที่แล้ว

    great content!!

    • @eveningkid
      @eveningkid  3 ปีที่แล้ว

      Thank you Bayram, happy you liked it :)

  • @MinhTechie
    @MinhTechie 2 ปีที่แล้ว

    what microphone are you using?

  • @Ayush_kumar123
    @Ayush_kumar123 3 ปีที่แล้ว

    Did you guys play with play/pause button at 1:08?

    • @eveningkid
      @eveningkid  3 ปีที่แล้ว

      ...what do you mean? :D

    • @Ayush_kumar123
      @Ayush_kumar123 3 ปีที่แล้ว

      Play with play/pause button at 1:08 in landscape mode

  • @necmettinsargn667
    @necmettinsargn667 3 ปีที่แล้ว

    Tried using reanimated V2 today. I was using withSequence idk if its related but the more I trigger animation the more it gets slower

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

      That's odd, you should reach out to the team/repo, I'm sure there's an explanation to this...!

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

      @@eveningkid Found the problem. İt was my mistake 🙃

  • @kymzTech
    @kymzTech 3 ปีที่แล้ว

    Please what app did you use for your video presentation

  • @developerpaul46
    @developerpaul46 2 ปีที่แล้ว

    Do you think nativewind is good for react-native?

  • @jonasgroendahl
    @jonasgroendahl 3 ปีที่แล้ว

    Can you provide an example of an uncontrolled component in React Native? onChangeText={() => { // updateRef } ?

    • @eveningkid
      @eveningkid  3 ปีที่แล้ว

      Sure:
      const [text, setText] = useState('jonas');
      return ;
      That's all :)

  • @gamer-tantrik
    @gamer-tantrik 3 ปีที่แล้ว

    U will go very far man ...to the moon. 🌝

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

      Thank you for the kind words DreadPool (nice name btw!) :)

  • @gonz4610
    @gonz4610 3 ปีที่แล้ว

    always with great videos! thank you man! ... Let's talk about redux! :0

    • @eveningkid
      @eveningkid  3 ปีที่แล้ว

      Thank you gonz! Redux? What exactly about Redux? 🤔

  • @yacine101
    @yacine101 3 ปีที่แล้ว

    ✌✌✌

  • @jashanshetty5899
    @jashanshetty5899 3 ปีที่แล้ว

    Please please make a video on Instagram reels🤐🤐😔❤️

    • @eveningkid
      @eveningkid  3 ปีที่แล้ว

      What do you mean exactly? :)

  • @mudandmoss4132
    @mudandmoss4132 3 ปีที่แล้ว

    Is everything cool bro? No new vids in a couple of weeks... Hope you're okay

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

      Yes, life sometimes. I do what I can but wish it could be more! I should make a live tomorrow, if you’re around and want to join. There’s also a video planned but it’s out of my control (I’ll talk about it too). Thanks for checking on me, it really means a lot (like really!)

  • @snehilkankran5492
    @snehilkankran5492 2 ปีที่แล้ว

    If ( thumbnail != Title ) {
    Comment( "😑😑😑");
    }
    😑😑😑
    😆

  • @ahmedam77
    @ahmedam77 3 ปีที่แล้ว

    I love the video, but I hate zucchini!

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

      haha, good thing it was only on-screen for 5 seconds then :)

    • @ahmedam77
      @ahmedam77 3 ปีที่แล้ว

      @@eveningkid 😂