10 Tips For FASTER React App

Поделиться
HTML-код
  • Опубликовано: 7 июн 2024
  • 10 Tips to make ReactJS application faster
    This video will show ten tips and techniques that you can use to speed up the performance of your react applications. We will look at react lazy, react suspense, memorizing store, using local state, react fragments, and others.
    Next recommended video: React Tic Tac Toe - • ReactJS Tic Tac Toe (F...
    Timestamps:
    0:00 Introduction
    0:08 Tip#1: Virtualizing or Windowing
    1:15 Tip#2: React Lazy and React Suspense
    1:57 Tip#3: Dependency Optimization
    3:00 Tip#4: Memoize Store
    3:56 Tip#5: Avoid Unnecessary Renders
    4:45 Tip#6: Use Production Build
    5:17 Tip#7: Keep state local instead of store
    5:53 Tip#8: Use CDN
    6:30 Tip#9: React Fragments
    6:53 Tip#10 Web Workers
    7:37 Final Thoughts

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

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

    Next recommended video: React Tic Tac Toe - ruclips.net/video/w8V--ZBzh7w/видео.html

  • @its_just_me_
    @its_just_me_ Год назад +9

    Man, this has to be one of the best video for React app optimisation techniques. This covers almost everything.

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

      thank you! spent so much time in one video :) this kind of comments makes me keep on going and appreciate the efforts i put it.

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

    Finally, someone who is diving deep into react and front end stuff ! This is great, please we need more stuff like this. you earned a subscriber.

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

      thanks for subscribing! definitely more front end vids soon.

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

    This video helped me to solve one critical problem. 🙂
    Thanks man, keep adding videos like this

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

      glad that this video helped you out. Will add more videos like this. Thanks.

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

    Do you like this kind of video making it very interactive like this? Please let me know. Thanks.

  • @MrRobot-qr7pb
    @MrRobot-qr7pb Год назад +1

    This has to be one of the best coding videos with the best editing.

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

      WOW! This is the best comment I have received in a while and I appreciate it a lot. Definitely spent many days on this particular video and I am glad that dev/eng found it useful.

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

    Thank you so much! Very useful

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

      Glad it was helpful! Thank you for dropping a comment.

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

    That's a great information brother ❤

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

    Subscribed 👏

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

    just had an interview and I wish I found this video. keep up the great content

  • @blackswann9555
    @blackswann9555 8 месяцев назад +2

    Great!!!!!!!!!!!!!!!! 🙌😁

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

    Most underrated videos of React

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

    This is great

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

      thank you much! i devote so much time in this one video 🤙🏻

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

    Thank you very much

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

      I am glad that you liked the video and you can expect to see more videos like this.

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

    Thanks for the video.
    Just curious: if we set a React Fragment instead of a UL for LI elements, what will generate in the DOM? If it's not a UL automatically, then that defeats the purpose of using the correct semantic markup.
    Fragments are usually best when they replace generic tags like Divs.
    All of your other points are great. It's pretty standard stuff, but it wouldn't hurt for Devs to review this every now and again.

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

      Fragments let you group a list of children without adding extra nodes to the DOM.
      for you question `Just curious: if we set a React Fragment instead of a UL for LI elements, what will generate in the DOM? If it's not a UL automatically, then that defeats the purpose of using the correct semantic markup.` the result will be a bunch of LI only.
      your second point - `Fragments are usually best when they replace generic tags like Divs. `. It doesn't replace Divs. You can think on fragment as invisible container and when the component renders, it removes the fragments.

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

    great video!
    Anyone know what tool was used to produce the dependency usage visualization at ~2:43?

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

      the one I used is called - Webpack Bundle Analyzer
      but there are other alternatives too as you can see here - blog.bitsrc.io/6-tools-and-techniques-to-analyze-webpack-bundle-size-817337f8cf91

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

    Nice

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

      Thanks very much for the comment and I am glad that you liked the video👌👊

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

    hi i have a doubt does 'lodash-webpack-plugin' will remove all the unused functions from every library used in react app or just remove unused functions from lodash only?

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

      lodash-webpack-plugin is for lodash only to create smaller Lodash builds by replacing feature sets of modules with noop, identity, or simpler alternatives.

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

    This video is very nice. Your channel is great for interview preparation, so please do post many videos to get success for interviews.Hope this of what expecting all our subscribers. I want this channel for one stop frontend interview preparation. What is your thoughts on this

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

      thank you! interview prep is my main goal as well when I see the potential and based on the metrics ive collected from likes, views etc. i think i would continue to post more of those.
      at the same time, i was thinking on the side that i don't want to limit my channel into all interviews but entire front end topics so we are going to be more generalized and can cover more FE topics.
      i am glad that you mentioned this one-stop shop too as i think majority of my subscribers are asking and expecting as well. Passing interviews are not an easy task so I will continue to help.

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

      @@ASoftwareEngineer Thanks for the reply. Please do post videos consistancely so that you will be get more viewers like us . i knew you do have personal work but pls set any week day to post videos regularly to reach channel to everyone.

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

      noted. after this react video i am working now i will start going to create videos again on interview prep and will do my best to post weekly even it is short ones.
      thanks for the feedback, meant a lot to me