Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v9] fix: only copy props if same constructor #3429

Merged
merged 2 commits into from
Jan 10, 2025

Conversation

CodyJasonBennett
Copy link
Member

Fixes an issue reported on Discord where R3F will attempt to copy props even if they don't have the same constructor.

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit df30468:

Sandbox Source
example Configuration

@CodyJasonBennett CodyJasonBennett merged commit 331cc9c into v9 Jan 10, 2025
2 checks passed
@CodyJasonBennett CodyJasonBennett deleted the fix/copy-prop-supersets branch January 10, 2025 17:31
Sign up for free to 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