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

Fix #5929. Set default prop when prop is undefined while cloning #6037

Closed
wants to merge 1 commit into from
Closed

Conversation

arjunsharma
Copy link

Set default props if a passed in prop is undefined while using cloneElement, the same as what happens when doing createElement.

@jimfb
Copy link
Contributor

jimfb commented Feb 15, 2016

Thanks for the PR! We have already accepted #5997 and will merge once we've determined that it's safe and doesn't require a migration plan. For that reason, I'm going to close out this PR in favor if #5997

@jimfb jimfb closed this Feb 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants