-
Notifications
You must be signed in to change notification settings - Fork 72
Warning to use createRoot instead ReactDOM.render #7074
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
Comments
@shendy-a8c I tried to reproduce an issue on my end and I can't see the error, but we do still use |
@deepakpathania this one is already in your backlog, so let's keep it there. |
@vbelolapotkov @deepakpathania I know this is in your backlog, but once we update to React 18, I'd like to take care of this fix. Let me know if that works for you! |
PRs are welcome. 😄 |
Sure, I'll create a PR 😊 |
@deepakpathania Just created the PR. Please ref |
Describe the bug
When working on #7043, I saw this warning:
We do have
ReactDOM.render()
calls in the code.Even though we specify React 17 as dependency, it might be a good idea to switch to
createRoot()
.To Reproduce
Actual behavior
Warnings thrown:
Expected behavior
No warning regarding
ReactDOM.render
.The text was updated successfully, but these errors were encountered: