Skip to content

Section not using re-render stable ids #7977

@nirvanka

Description

@nirvanka

Description

I was debugging a persistent re-render issue in my application and found an issue in blueprint Section. You are using uniqueId for generating sectionId. uniqueId is just incrementing number and doesn’t seem to be stable (re-render wise). Should Section use React.useId which is re-render stable? I see that this component haven't been updated for a while so maybe it didn't get the refresh once Blueprint upgraded to React 18.

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