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

Change ReactDom.render to createRoot (React 18 render) #434

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KapStorm
Copy link
Contributor

@KapStorm KapStorm commented Nov 1, 2023

Fixes React 18 console warning

Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. 
Until you switch to the new API, your app will behave as if it's running React 17. 
Learn more: https://reactjs.org/link/switch-to-createroot

@KapStorm KapStorm requested a review from AlexITC November 1, 2023 02:15
Copy link

github-actions bot commented Nov 1, 2023

Preview ready at https://createroot.sssppa.wiringbits.dev

Powered by https://codepreview.io community edition.

@AlexITC
Copy link
Contributor

AlexITC commented Nov 8, 2023

Let's wait until Slinky supports this.

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.

2 participants