refine
refine copied to clipboard
[FEAT] React v19 Support
Is your feature request related to a problem? Please describe.
When upgrading my project to React v19. Refine yields the following peer deps errors:
npm warn Found: @types/[email protected]
npm warn node_modules/@types/react
npm warn dev @types/react@"^19.0.1" from the root project
npm warn 26 more (@mui/private-theming, @mui/system, @mui/types, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer @types/react@"^17.0.0 || ^18.0.0" from @refinedev/[email protected]
npm warn node_modules/@refinedev/core
npm warn @refinedev/core@"^4.56.0" from the root project
npm warn 5 more (@refinedev/mui, @refinedev/react-hook-form, ...)
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: [email protected]
npm warn Found: @types/[email protected]
npm warn node_modules/@types/react
npm warn dev @types/react@"^19.0.1" from the root project
npm warn 26 more (@mui/private-theming, @mui/system, @mui/types, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer @types/react@"^17.0.0 || ^18.0.0" from @refinedev/[email protected]
npm warn node_modules/@refinedev/core
npm warn @refinedev/core@"^4.56.0" from the root project
npm warn 5 more (@refinedev/mui, @refinedev/react-hook-form, ...)
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: [email protected]
npm warn Found: @types/[email protected]
npm warn node_modules/@types/react
npm warn dev @types/react@"^19.0.1" from the root project
npm warn 26 more (@mui/private-theming, @mui/system, @mui/types, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer @types/react@"^17.0.0 || ^18.0.0" from @refinedev/[email protected]
npm warn node_modules/@refinedev/core
npm warn @refinedev/core@"^4.56.0" from the root project
npm warn 5 more (@refinedev/mui, @refinedev/react-hook-form, ...)
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: [email protected]
npm warn Found: @types/[email protected]
npm warn node_modules/@types/react
npm warn dev @types/react@"^19.0.1" from the root project
npm warn 26 more (@mui/private-theming, @mui/system, @mui/types, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer @types/react@"^17.0.0 || ^18.0.0" from @refinedev/[email protected]
npm warn node_modules/@refinedev/core
npm warn @refinedev/core@"^4.56.0" from the root project
npm warn 5 more (@refinedev/mui, @refinedev/react-hook-form, ...)
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: [email protected]
npm warn Found: @types/[email protected]
npm warn node_modules/@types/react
npm warn dev @types/react@"^19.0.1" from the root project
npm warn 26 more (@mui/private-theming, @mui/system, @mui/types, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer @types/react@"^17.0.0 || ^18.0.0" from @refinedev/[email protected]
npm warn node_modules/@refinedev/react-router-v6
npm warn @refinedev/react-router-v6@"^4.6.0" from the root project
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: [email protected]
npm warn Found: @types/[email protected]
npm warn node_modules/@types/react-dom
npm warn dev @types/react-dom@"^19.0.2" from the root project
npm warn 5 more (@refinedev/core, @refinedev/devtools-internal, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer @types/react-dom@"^17.0.0 || ^18.0.0" from @refinedev/[email protected]
npm warn node_modules/@refinedev/react-router-v6
npm warn @refinedev/react-router-v6@"^4.6.0" from the root project
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: [email protected]
npm warn Found: [email protected]
npm warn node_modules/react
npm warn react@"^19.0.0" from the root project
npm warn 49 more (@emotion/react, @emotion/styled, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer react@"^17.0.0 || ^18.0.0" from @refinedev/[email protected]
npm warn node_modules/@refinedev/mui
npm warn @refinedev/mui@"^5.22.0" from the root project
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: [email protected]
npm warn Found: [email protected]
npm warn node_modules/react
npm warn react@"^19.0.0" from the root project
npm warn 49 more (@emotion/react, @emotion/styled, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer react@"^17.0.0 || ^18.0.0" from @refinedev/[email protected]
npm warn node_modules/@refinedev/react-router-v6
npm warn @refinedev/react-router-v6@"^4.6.0" from the root project
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: [email protected]
npm warn Found: [email protected]
npm warn node_modules/react
npm warn react@"^19.0.0" from the root project
npm warn 49 more (@emotion/react, @emotion/styled, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer react@"^18" from @toolpad/[email protected]
npm warn node_modules/@toolpad/core
npm warn @toolpad/core@"^0.10.0" from the root project
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: [email protected]
npm warn Found: [email protected]
npm warn node_modules/react
npm warn react@"^19.0.0" from the root project
npm warn 49 more (@emotion/react, @emotion/styled, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer react@"^18.3.1" from [email protected]
npm warn node_modules/react-dom
npm warn react-dom@"^19.0.0" from the root project
npm warn 20 more (@floating-ui/react-dom, @mui/x-charts, ...)
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: [email protected]
npm warn Found: [email protected]
npm warn node_modules/react
npm warn react@"^19.0.0" from the root project
npm warn 49 more (@emotion/react, @emotion/styled, ...)
npm warn
--- SNIP ---
Describe alternatives you've considered
No response
Additional context
No response
Describe the thing to improve
Migrating to Refine to React v19.