react-component / react-component/util
"render" function throws "reactRender is not a function" with react 19-rc
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 670
- Forks
- 205
- Avg merge
- 11d 17h
- Merged PRs (30d)
- 4
Description
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!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with src/React/render.ts and compare its createRoot import with the React 19 upgrade guide linked in the issue. Reproduce the render call with React 19 RC, then verify that the React 19 path no longer falls back to legacyRender and that rendering succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100