react large list performance issue - Stack Overflow
黄舟
黄舟 2017-07-05 10:49:27
0
1
957

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

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all (1)
刘奇

Only render the visible area.

Higher version browsers can use: Page Visibility API

Lower versions can only calculate the scrolling distance by themselves.

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!