Skip to content

[Bug Report] Performance issue: clicking on a row causes every row in the table to re-render #410

@stephantabor

Description

@stephantabor

highlightRowKey: {
type: [String, Number],
default: null,
},

One of the reasons seems to be that every table row receives the highlighted row index as a prop. Every time a user clicks a different row that index will change causing every row to re-render.

Using the clickHighlight: false option to disable row highlighting on click doesn't change the behavior. It seems to just decide whether the class is applied, but the re-render still happens.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions