Is it possible to use Remix v2 with React 19? #10575
Unanswered
bakikucukcakiroglu
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I wonder if it is okay to use Remix v2 with React 19. I'm not able to migrate to React Router v7 for some reasons. I installed React 19 but it gives peer-dependency errors like:
Conflicting peer dependency: [email protected] npm error node_modules/react npm error peer react@"^18.0.0" from @remix-run/[email protected] npm error node_modules/@remix-run/react npm error @remix-run/react@"^2.16.4" from the root project npm error peer @remix-run/react@"^2.16.4" from @remix-run/[email protected] npm error node_modules/@remix-run/dev npm error @remix-run/dev@"^2.16.4" from the root project npm error 2 more (@remix-run/fs-routes, @remix-run/route-config) npm error 3 more (@shopify/shopify-app-remix, remix-themes, remix-utils)
I used
--legacy-peer-deps
and installed React 19. It seems to be working but I wonder it is okay. May I have any unexpected error?Beta Was this translation helpful? Give feedback.
All reactions