8 React Js performance optimization techniques YOU HAVE TO KNOW!

Поделиться
HTML-код
  • Опубликовано: 14 май 2024
  • Explore 8 amazing and important performance optimization techniques to take your react application to the next level.
    #reactjstutorial #reactjs #reactjsforbeginners

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

  • @xplodivity
    @xplodivity  4 месяца назад +2

    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

  • @pauloluguenda8397
    @pauloluguenda8397 2 дня назад

    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.

  • @4nkitpatel
    @4nkitpatel 3 месяца назад +3

    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

  • @organic2976
    @organic2976 9 месяцев назад

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

  • @Code_express
    @Code_express 9 месяцев назад

    its veryfull thank you sir

  • @ishu4696
    @ishu4696 2 месяца назад

    very helpful video to learn optimizaation at once.

  • @Js-Lovers
    @Js-Lovers 9 месяцев назад

    Nice❤❤

  • @rajawatramraj4690
    @rajawatramraj4690 9 месяцев назад

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

    • @xplodivity
      @xplodivity  9 месяцев назад

      Thank you, That really means a lot!

  • @kettenbach
    @kettenbach 9 месяцев назад

    Thanks for sharing 💪

  • @TheIndianDev
    @TheIndianDev 4 месяца назад

    Great listing

  • @ssjxn
    @ssjxn 3 месяца назад

    Subscribed

  • @neerajshukla6652
    @neerajshukla6652 4 месяца назад

    very nice video , do you also have react projects ?

  • @duraibytes8301
    @duraibytes8301 Месяц назад

    Need detailed video for use transition and memo

  • @perobeats
    @perobeats 9 месяцев назад

    ❤️ keep it up.

  • @srikarravoori124
    @srikarravoori124 4 месяца назад

    ❤❤❤

  • @AshtonMotana
    @AshtonMotana 3 месяца назад

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

    • @josephmathew333
      @josephmathew333 8 дней назад

      how

    • @AshtonMotana
      @AshtonMotana 8 дней назад

      ​@@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.