8 React Js performance optimization techniques YOU HAVE TO KNOW!

Поділитися
Вставка
  • Опубліковано 28 вер 2024

КОМЕНТАРІ • 28

  • @xplodivity
    @xplodivity  9 місяців тому +3

    16 Intermediate/Advanced JavaScript Projects to Dominate Your Next Technical Interview
    Get it now- xplodivity.graphy.com/courses/16-js-projects-65883553e4b08ebe75f39885
    - Lifetime access
    - Full video explanations of building each project from scratch
    - 10+ hours of premium content
    - No bullshit, No time waste
    - This project list Should get you ready for any JavaScript live coding interview round.
    - Extremely cheap (less than $10)
    Content list:
    1. File Explorer (similar to vs-code)
    2. Infinitely Nested comments
    3. Advanced Custom Toast notification from scratch
    4. Drag & Drop, Swap, Add and delete elements using JavaScript
    5. Custom Calendar/Date-picker
    6. Multi-Select dropdown with support to add & remove elements
    7. Build a Memory game with all rules integrated
    8. Build an analog clock with smooth animation
    9. Dynamic Progress bar with custom input support
    10. Build a Star rating system with dynamic hover effects
    11. Build a tic tac toe game with best practices
    12. Advanced To-Do List with Local Storage support
    13. Accordion with smooth transition effects
    14. Countdown timer & days remaining timer
    15. Create a custom modal
    16. Build an optimised Chessboard

  • @4nkitpatel
    @4nkitpatel 8 місяців тому +15

    1. List Virtualization or Windowing
    2. Lazy loading
    3. images memoization
    4. Throttling and Debouncing Events
    5. Code-splitting
    6. react fragments
    7. web workers
    8. useTransition hook

  • @duraibytes8301
    @duraibytes8301 5 місяців тому +1

    Need detailed video for use transition and memo

  • @AshtonMotana
    @AshtonMotana 8 місяців тому +1

    You don't need a library to adaptively render lists. You can just make it yourself.

    • @josephmathew333
      @josephmathew333 4 місяці тому

      how

    • @AshtonMotana
      @AshtonMotana 4 місяці тому

      ​@@josephmathew333 My file is only 16kb and has plenty of comments so could be smaller, doesn't take a lot of code. is reusable and also auto fetches data for any list component.
      create a scroll tracker function, with onScroll, that calls an external function, from that external function use a while loop with the run condition of "start" === "start", that runs at 100 millisecond intervals. This will be an infinite loop but won't freeze the browser. with the while loop constantly running you'll need to use the DOM to read and update data for the loop to know the start and end range of the data array slicer. Pass react setState... into the while loop function so the logic in your while loop can update the state data for the array slicer that resides in the rendering component. You'll need to have a top and bottom element that does not scroll with the list as you'll need to track the bottom and top of the list relative to those fixed elements and have the logic for scroll up and down, If bottom or top of list is x amount of pixels from the top or bottom of the viewport, then increment value for start and end range of the array slicer.
      That's the very basic. Generally, think of how you'd track motion, and distance. Object distance is relative to a fixed object position. If/when you create an array within the wile loop that determines if you're scrolling up or down or not scrolling at all, you can write an if condition that will then stop the loop from running, until you scroll again.

    • @Deb1an
      @Deb1an 2 місяці тому

      Using intersection observer​ api @@josephmathew333

  • @light-qn2jb
    @light-qn2jb 3 дні тому

    great one this need more views

  • @pauloluguenda8397
    @pauloluguenda8397 4 місяці тому +1

    Amazing video, very helpfull. I want to step up as junior react developer and increase the performance of an app is what I needed. Now I'll study one topic by one. Thank you very much.

  • @mahalingappabirajdar5285
    @mahalingappabirajdar5285 2 місяці тому +1

    Your explanations were very helpful, thanks

  • @organic2976
    @organic2976 Рік тому +2

    wonderful, would love to see more videos that are on an intermediate level.

  • @ishu4696
    @ishu4696 7 місяців тому +1

    very helpful video to learn optimizaation at once.

  • @kuldeepdawar7496
    @kuldeepdawar7496 3 місяці тому

    Thank you brother, you are giving a quality content in this video..God bless you 🙂

  • @germantellez2710
    @germantellez2710 3 місяці тому

    Thanks for the video! Please explain the useTransition hook

  • @neerajshukla6652
    @neerajshukla6652 8 місяців тому

    very nice video , do you also have react projects ?

  • @perobeats
    @perobeats Рік тому +1

    ❤️ keep it up.

  • @TheIndianDev
    @TheIndianDev 8 місяців тому

    Great listing

  • @niharikadayama2549
    @niharikadayama2549 4 місяці тому

    Amazing video

  • @Code_express
    @Code_express Рік тому

    its veryfull thank you sir

  • @ssjxn
    @ssjxn 7 місяців тому

    Subscribed

  • @rajawatramraj4690
    @rajawatramraj4690 Рік тому

    man, so so useful in just ten minutes you made a better programmer

    • @xplodivity
      @xplodivity  Рік тому

      Thank you, That really means a lot!

  • @srikarravoori124
    @srikarravoori124 8 місяців тому

    ❤❤❤

  • @Js-Lovers
    @Js-Lovers Рік тому

    Nice❤❤

  • @kettenbach
    @kettenbach Рік тому

    Thanks for sharing 💪