Closed DanielRuf closed 9 months ago
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 [react-dom.development.js:86:29](webpack://bitexpert-sulu-react/node_modules/react-dom/cjs/react-dom.development.js?61bb)
React 3
startApp app.js:19
<anonym> index.ts:19
ts index.js:1961
__webpack_require__ index.js:2227
<anonym> index.js:2323
<anonym> index.js:2325
We had to upgrade React to v18 to resolve some issues with the React scheduler.
You might want to change to the new method to render the root component: https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html#updates-to-client-rendering-apis https://github.com/sulu/SuluHeadlessBundle/blob/0.x/Resources/js-website/src/app.js#L19