Skip to content

fix: modify compare logic of useComposeRef memo - #501

Open
C1erman wants to merge 1 commit into
react-component:masterfrom
C1erman:master
Open

fix: modify compare logic of useComposeRef memo#501
C1erman wants to merge 1 commit into
react-component:masterfrom
C1erman:master

Conversation

@C1erman

@C1ermanC1erman commented Feb 4, 2024

Copy link
Copy Markdown

The previous logic for comparison was incorrect in cases of this nature: prev: [1, 2], next: [1, 3].
This commit resolves the error in such cases.

@vercel

vercelBot commented Feb 4, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

NameStatusPreviewCommentsUpdated (UTC)
util❌ Failed (Inspect)Feb 4, 2024 2:06pm

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@C1erman