Gatsby Image importing createRoot
from react-dom
instead of react-dom/client
#35095
Closed
2 tasks done
Labels
topic: media
Related to gatsby-plugin-image, or general image/media processing topics
type: bug
An issue or pull request relating to a bug in Gatsby
Preliminary Checks
Description
Appears on React 18 RC 1 or later.
Reproduction Link
https://github.com/mwskwong/gatsby-image-react-rc-1
Steps to Reproduce
18.0.0-rc.1
or latergatsby-plugin-image
Expected Result
No error prompted
Actual Result
React complains
createRoot
is being imported from the wrong path.Environment
Config Flags
No response
The text was updated successfully, but these errors were encountered: