Migration to React 19 error
I've migrated the app to React 19 and updated all the packages as you see in the image + types same version, but got an error. Do you have any idea how can I fix it?


10 Replies
Hello,
Did you end up figuring this out or do you still need some help investigating?
Hi. Rolled it back to React 18.2 since I had to work on the project. But yeah, still need some help
This is my package.json on an app that works with React 19:
Check if you were missing any packages/types
Cool thanks. I will check that
Got the same error with updated packages and react 19. I downgraded just react to 18.3.1 and it's working. I think Remix isn't compatible with React 19, and better will be an upgrade to RR7. What do you think?

I have 3 applications all on Remix and React 19. I don't think that Remix is the issue
There must be something else that you folks are running into that is causing this error
Ah I see, the ss you already provided is from a remix app. Okay, will check that
Didn't get any warnings on yarn & checked some peerDependencies


Are you on framework version 1.4? Are you on Vite 6.3.5?
Vite 6.3.5 as you could see above in my package.json. Framework.. ?!?