FirebaseExtended / reactfire

Hooks, Context Providers, and Components that make it easy to interact with Firebase.
https://firebaseopensource.com/projects/firebaseextended/reactfire/
MIT License
3.5k stars 400 forks source link

Support for Firebase 10.1.0 #588

Open xuc323 opened 11 months ago

xuc323 commented 11 months ago

Possible support for Firebase 10.1.0?

Version info

React: 18.2.0

Firebase: 10.1.0

ReactFire: 4.2.3

Steps to reproduce

npm install

Expected behavior

Install successfully.

Actual behavior

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: firebase-frameworks@0.10.5
npm ERR! Found: firebase@10.1.0
npm ERR! node_modules/firebase
npm ERR!   firebase@"^10.1.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peerOptional firebase@"^9.9.0" from firebase-frameworks@0.10.5
npm ERR! node_modules/firebase-frameworks
npm ERR!   firebase-frameworks@"^0.10.4" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: firebase@9.23.0
npm ERR! node_modules/firebase
npm ERR!   peerOptional firebase@"^9.9.0" from firebase-frameworks@0.10.5
npm ERR!   node_modules/firebase-frameworks
npm ERR!     firebase-frameworks@"^0.10.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.
JosephMainaDev commented 10 months ago

I have the same issue with Firebase@10.3.0.

Is ReactFire@4.2.3 compatible with Firebase@10.3.0?

Gbuomprisco commented 10 months ago

@jhuleatt this would be extremely helpful 🙏

cyrilpreiss commented 9 months ago

same issue here

Orick08 commented 7 months ago

I used this library (the auth part) without any problem with firebase 10. To install it I used the legacy dependency flag

npm install reactfire --legacy-peer-deps

And seems like they are working to update the library, they have a PR about firebase 10 https://github.com/FirebaseExtended/reactfire/pull/600 (and also is in this issue history if you read it)

Gbuomprisco commented 7 months ago

I used this library (the auth part) without any problem with firebase 10. To install it I used the legacy dependency flag

npm install reactfire --legacy-peer-deps

And seems like they are working to update the library, they have a PR about firebase 10 #600 (and also is in this issue history if you read it)

The PR is not from a maintainer - so until one shows up - it will keep being open.

o-glethorpe commented 4 months ago

I guess since Firebase was not built last month, nobody cares about it anymore.

ahlivehr commented 4 months ago

I am very grateful for the people who maintain this. Bumping this version to support at least version 10.0.0 would be a huge help. This is especially the case, because the firebase unit testing library requires it: https://www.npmjs.com/package/@firebase/rules-unit-testing.