react-query-firebase
react-query-firebase copied to clipboard
Can't install with React 18
Hi, seems like it's not possible to install any of the packages on a project using React 18+
$ npm update
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"^18.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.0 || ^17.0.0" from @react-query-firebase/[email protected]
npm ERR! node_modules/@react-query-firebase/auth
npm ERR! @react-query-firebase/auth@"^0.3.4" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
install it will --force command. using it with no issues so far. it would be great with updated dependencies though.
Is updating the dependencies for React 18 in the works?
is this library is ready for React 18 now ?
Hi,
As of 11/2022, the documentation specifies that RectQueryDevtools is already included in the main library 'react-query', so no separate installation is needed:
import { ReactQueryDevtools } from 'react-query/devtools'