Fork me on GitHub
Ben Halton14:04:03

hi there, I've upgraded to react 18 and get the following warning: react-dom.development.js:87 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:

Ben Halton14:04:28

I could write my own version of render-comp I guess - just wondering if there are plans to support this?


it's a little complicated rn with the new version. the API is different


e.g. there's no callback you can pass into the render method on the result of createRoot

Ben Halton16:04:52

ah I see yes - there's some discussion here: