search

Home  >  Q&A  >  body text

react large list performance issue - Stack Overflow

Now we use React to obtain a large amount of data, render it, and display it on the page. How to optimize performance?

黄舟黄舟2697 days ago1022

reply all(1)I'll reply

  • 怪我咯

    怪我咯2017-07-05 10:51:27

    Only render the visible area.

    Higher version browsers can use: Page Visibility API

    Lower versions can only calculate the scrolling distance by themselves.

    reply
    0
  • Cancelreply