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: Guard against constructing without params in diffProps #3098

Merged
merged 3 commits into from
Dec 4, 2023

Conversation

krispya
Copy link
Member

@krispya krispya commented Nov 20, 2023

Adds a simple check to make sure a constructor has no required params before attempting to clone it for defaults.

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 fa978ba:

Sandbox Source
example Configuration

@krispya krispya merged commit 9a61979 into pmndrs:v9 Dec 4, 2023
1 check passed
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