Hi everyone, I'm currently working on a project testing the new release candidate version of react 19. I noticed that when calling the render function defined here it throws the error reactRender is not a function. It looks like createRoot is not found when used with react 19-RC and this leads to use the legacyRender that of course will not work.
I suspect there's some problem related on how createRoot it's imported, here the official reference from react where it's imported from react-dom/client and not from react-dom.
Thanks in advance for the support!
Hi everyone, I'm currently working on a project testing the new release candidate version of react 19. I noticed that when calling the
renderfunction defined here it throws the errorreactRender is not a function. It looks likecreateRootis not found when used with react 19-RC and this leads to use thelegacyRenderthat of course will not work.I suspect there's some problem related on how
createRootit's imported, here the official reference from react where it's imported fromreact-dom/clientand not fromreact-dom.Thanks in advance for the support!