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

Use createRoot instead of render #3573

Merged
merged 2 commits into from
Aug 3, 2023
Merged

Use createRoot instead of render #3573

merged 2 commits into from
Aug 3, 2023

Conversation

oscarssanchez
Copy link
Contributor

@oscarssanchez oscarssanchez commented Aug 1, 2023

Description of the Change

This PR changes the method used to render the React element to use create.Root as per #3544

Closes #3544

How to test the Change

Changelog Entry

Changed - Use createRoot instead of render to render elements

Credits

Props @oscarssanchez , @burhandodhy, @felipeelia

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@oscarssanchez oscarssanchez added this to the 4.7.0 milestone Aug 1, 2023
@JakePT JakePT requested review from JakePT and removed request for felipeelia August 1, 2023 13:55
@felipeelia felipeelia merged commit 42dcee9 into develop Aug 3, 2023
@felipeelia felipeelia deleted the fix/3544 branch August 3, 2023 15:56
@felipeelia felipeelia mentioned this pull request Aug 9, 2023
4 tasks
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.

BUG: ReactDOM.render is no longer supported in React 18. Use createRoot instead.
3 participants