-
Notifications
You must be signed in to change notification settings - Fork 8.4k
[Unzyme] src/core/packages/mount-utils
#226428
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
Conversation
src/core/packages/mount-utils
src/core/packages/mount-utils

/ci |
Warning is ok, imo good to ignore and proceed. mountReactNode should be migrate to createRoot later with concurrent mode migration |
Pinging @elastic/kibana-core (Team:Core) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
Starting backport for target branches: 9.1 https://github.com/elastic/kibana/actions/runs/16069263450 |
## Summary Resolves elastic#224000 Moved to react testing library. Tests pass but I'm getting this warning now: ``` 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 ``` When I tried to move to createRoot it caused other issues so I'm not sure how to continue or if we should ignore the warning 🤔 @Dosant (cherry picked from commit 1e03b3a)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `9.1`: - [[Unzyme] `src/core/packages/mount-utils`(#226428)](#226428) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Jesus Wahrman","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-07-04T08:21:08Z","message":"[Unzyme] `src/core/packages/mount-utils` :shipit: (#226428)\n\n## Summary\n\nResolves https://github.com/elastic/kibana/issues/224000\n\nMoved to react testing library. Tests pass but I'm getting this warning\nnow:\n\n```\nWarning: 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\n```\n\nWhen I tried to move to createRoot it caused other issues so I'm not\nsure how to continue or if we should ignore the warning 🤔 @Dosant","sha":"1e03b3a3853d82fe2b9fbf9a67f8e274e2d4f164","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","technical debt","release_note:skip","backport:prev-minor","v9.2.0"],"title":"[Unzyme] `src/core/packages/mount-utils` :shipit:","number":226428,"url":"https://github.com/elastic/kibana/pull/226428","mergeCommit":{"message":"[Unzyme] `src/core/packages/mount-utils`
(#226428)\n\n## Summary\n\nResolves https://github.com/elastic/kibana/issues/224000\n\nMoved to react testing library. Tests pass but I'm getting this warning\nnow:\n\n```\nWarning: 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\n```\n\nWhen I tried to move to createRoot it caused other issues so I'm not\nsure how to continue or if we should ignore the warning 🤔 @Dosant","sha":"1e03b3a3853d82fe2b9fbf9a67f8e274e2d4f164"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226428","number":226428,"mergeCommit":{"message":"[Unzyme] `src/core/packages/mount-utils`
(#226428)\n\n## Summary\n\nResolves https://github.com/elastic/kibana/issues/224000\n\nMoved to react testing library. Tests pass but I'm getting this warning\nnow:\n\n```\nWarning: 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\n```\n\nWhen I tried to move to createRoot it caused other issues so I'm not\nsure how to continue or if we should ignore the warning 🤔 @Dosant","sha":"1e03b3a3853d82fe2b9fbf9a67f8e274e2d4f164"}}]}] BACKPORT--> Co-authored-by: Jesus Wahrman <[email protected]>
Summary
Resolves #224000
Moved to react testing library. Tests pass but I'm getting this warning now:
When I tried to move to createRoot it caused other issues so I'm not sure how to continue or if we should ignore the warning 🤔 @Dosant