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

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. #522

Open
Orangewithsugar opened this issue Jan 24, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Orangewithsugar
Copy link

Orangewithsugar commented Jan 24, 2025

Hi everyone, I'm currently learning about coffee editors, and after i built it and run it, it then follows this error:
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

Image

Is it because i made some mistakes during buiding steps ? How can i fix it?

@Orangewithsugar Orangewithsugar added the bug Something isn't working label Jan 24, 2025
@Orangewithsugar Orangewithsugar changed the title 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 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. Jan 24, 2025
@eneufeld
Copy link
Contributor

Hi @Orangewithsugar ,
no mistake on your side. This is 'just' a warning as React 18 has some changes but the libraries we use didn't update yet to use the new APIs.
This should have no effect on the tool as long as you don't use any new features of React 18 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants