Skip to content

[Performance] All rows are re-rendered in the actual DOM whenever the application state changes #104

Description

@ohana54

Hi,

I discovered a major performance issue when I tried to use the grid in my application with about 1000 rows (max results set to 10, infinite scrolling enabled).
The rows are being re-rendered (in the actual DOM) whenever any state in the application changes.
This is due to a new unique key that's being generated every time a row is rendered, so react thinks it's a new row every time and replaces everything in the actual DOM.

A reproduction is shown here: http://jsfiddle.net/u0ue24ea/
Open the console and click on the "inc" button. I print to the console the DOM changes and you can see that all the rows are being replaced.

I believe this should be addressed ASAP if people are going to rely on this grid for their apps.

Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions