Closed mattmilburn closed 11 months ago
@mattmilburn Hi, you need to update
"react": "^17.0.2",
to
"react": "^18.2.0",
in your package.json
I've added yarn resolutions
with v18 and it started without this error.
@mattmilburn Hi, you need to update "react": "^17.0.2", to "react": "^18.2.0",
in your package.json
I've added
yarn resolutions
with v18 and it started without this error.
Hi @damian-balas I've been testing locally and it's true that using "resolutions": { "react": "^18.0.0" }
in my Strapi app works as you described and it's a quick solution for now 🎉
However, if I update the react
dependency in the menus plugin then add it back into a Strapi app, it still gets this react-dom/client
error. So far I've only been able to resolve it with the resolutions
prop in my Strapi app package.json
as you suggested and I'm still unable to implement a solution in the plugin itself.
Oddly enough, this doesn't happen with any of my other plugins 🤷🏻♂️
@damian-balas This issue is now fixed in the latest v1.5.0 of this plugin 👍🏻
In Strapi's latest version 4.13.1, an error occurs which seems related to React v18.
Currently unsure what is specifically causing this.