Let's discuss additional performance improvements that we can make to this library. Here are a couple of my goals and also some that others have mentioned:
showCursor is trueHave a look at https://github.com/NoamELB/shouldComponentUpdate-Children/blob/master/README.md
Not the canonical approach I would like to see implemented (from an academical viewpoint) but I could get a performance boost of a factor of 6-8!
For just a one-liner I adopted it 馃憦
an improvement would be to memorize the results from the dimensionItems, groupHeights, groupTops this will of course cut down extra renders as well...
Any chance react waypoint would improve performances?
http://brigade.github.io/react-waypoint/
For sure @jabidof . I was looking at that or using a polyfill for IntersectionObserver. Either way, I think my strategy for this would be:
This is theoretical but that should cut down on rendering of items that are out of view. The same approach can be applied horizontally.
This is a big one too: https://github.com/namespace-ee/react-calendar-timeline/issues/357
Would https://github.com/bvaughn/react-virtualized be possible for this?
Or any hints? I'm going to end up with thousands of groups and will need to cut down on re-render times for them.
Yes, it would. actually, I might experiment with it in the following two days
@Ilaiwi Did you have any success on experimenting with https://github.com/bvaughn/react-virtualized?
@Shvarts no yet. However, I just merged #392 which has a substantial performance boost with no
API changes. I will release it by the end of the week.
I will get to virtual lists sometime soon but I can't say when exactly since I am very busy with work.
@Shvarts @Ilaiwi shameless plug, but the timeline component mentioned under https://github.com/bvaughn/react-virtualized#friends was heavily inspired by this timeline and got some great performance gains out of react-virtualised. Full disclaimer, I'm a co-author
Any status updates ?
@hellooperatorpatchmethrough I am currently working on an RFC for rowRenderer which should change how the items are being redered and will improve the performance of the library a lot!
Most helpful comment
@hellooperatorpatchmethrough I am currently working on an RFC for
rowRendererwhich should change how the items are being redered and will improve the performance of the library a lot!