Should replace ReactDOM.render use with createRoot for React 18 compatability
kevinflo opened this issue · 1 comments
kevinflo commented
Currently using react-konva-utils
Html
in a React 18 project results in the following error
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
I'm not super familiar with the lib but I think that stems from
react-konva-utils/src/html.tsx
Line 104 in fe3e88b
lavrton commented
Done. Should be resolved with v0.3.0
.