-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
fix(gatsby-plugin-image): Switch react-dom import to remove createRoot warning #32457
Conversation
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.
Should we maybe add some greppable comment like TODO: remove in v4
?
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.
Given this follows what we do in https://github.com/gatsbyjs/gatsby/blob/29dedc398da4ba69257cf60e0e1400ebaea3c886/packages/gatsby/cache-dir/production-app.js I think we can merge it.
Published in |
Description
The named imports were a bit over eager in the initial PR (#32378) so this switches it to default import via
ReactDOM
. We do the same incache-dir/app.js
.Related Issues
Fixes #32451
[ch34846]