react-infinite icon indicating copy to clipboard operation
react-infinite copied to clipboard

Major Garbage Collection causes lag

Open FezVrasta opened this issue 9 years ago • 1 comments

I have created a simple table using react-infinite.

The table shows 5000 rows, everything is fluid and awesome.

The only problem is that, sometimes, chrome triggers a Major CG that takes a while to complete and makes the table lag (if you are scrolling).

Is there any optimization I can do to prevent this Major GC?

Thanks for the awesome component!

image

FezVrasta avatar May 12 '16 11:05 FezVrasta

Sounds like object pooling would be a good choice for this.

MarkMurphy avatar Aug 02 '16 13:08 MarkMurphy