util: "render" function throws "reactRender is not a function" with react 19-rc
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!
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 20
- Comments: 16
Commits related to this issue
- fix https://github.com/react-component/util/issues/550 — committed to deathemperor/util by deathemperor 2 years ago
I can confirm the issue by patching
react-dom/clientand it works@zombieJ can you please take a look? thanks.
I am waiting for a fix 😂
me too
with the release of next 15 this has become annoying