Skip to content

Duplicated ids in mergeProps causing infinte re-render in strict mode #7655

Closed
@nwidynski

Description

Provide a general summary of the issue here

Tracking #7379 (comment) here so it doesn't get lost.

🤔 Expected Behavior?

Duplicated ids should not cause infinite re-render.

😯 Current Behavior

Duplicated ids cause infinite re-render.

💁 Possible Solution

Untangle duplicated ids in mergeProps, keeping track of whether an id was previously sighted.
Alternatively fix the underlying root cause in useId, but currently don't know whats causing the ref safeguard to fail.

🔦 Context

#7379 (comment)

🖥️ Steps to Reproduce

#7379 (comment)

Version

latest

What browsers are you seeing the problem on?

Chrome, Firefox, Safari, Microsoft Edge

If other, please specify.

No response

What operating system are you using?

osx

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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