Skip to content

Optimizing the row rendering #125

@NMaXIMuSN

Description

@NMaXIMuSN

Hi!

I noticed that when virtualization is enabled for the rows of the table, when scrolling, all the cells of the table are redrawn, which has a very negative effect on performance.
For example: when scrolling, a lot of renderings are triggered, the average duration of which is 8ms on average (provided that it is just a text display).

You can check it in react profiler in the local version of storybook (attached an example screenshot)

I would like to know if there are plans to work on performance (for example, wrapping lines or cells in React.memo)?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions