scala-webapp-template icon indicating copy to clipboard operation
scala-webapp-template copied to clipboard

Change ReactDom.render to createRoot (React 18 render)

Open KapStorm opened this issue 1 year ago • 2 comments

Fixes React 18 console warning

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

KapStorm avatar Nov 01 '23 02:11 KapStorm

Preview ready at https://createroot.sssppa.wiringbits.dev

Powered by https://codepreview.io community edition.

github-actions[bot] avatar Nov 01 '23 02:11 github-actions[bot]

Let's wait until Slinky supports this.

AlexITC avatar Nov 08 '23 23:11 AlexITC