Skip to content

Breaks React.memo component #4

Description

Hi, setting dynamic refs does break React.memo component behaviour, it always re-renders even if you return true on the memo callback function. Once you remove the ref={setRef(....)} on the child component, it works as expected.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions