Skip to content

Fixes error in cloneElement code example #6291

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

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

drex04
Copy link
Contributor

@drex04 drex04 commented Sep 8, 2023

Summary

This Pull Request modifies the code example in the legacy cloneElement API to be consistent with API behavior and another example used later in the documentation page. Previously, the two code examples on the page were inconsistent.

@github-actions
Copy link

github-actions bot commented Sep 8, 2023

Size changes

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@gaearon gaearon merged commit 46e7b2c into reactjs:main Sep 8, 2023
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