Open amdw opened 2 years ago
Looking further, I'm not sure that right now is the optimal time to make this upgrade. I was able to make the application compile with the compat
APIs (#174) but I wasn't able to make it work with the switch to the modular style, which IIUC is actually the part of this that brings the significant benefits (tree-shaking reducing file sizes etc).
The @angular/fire
docs currently have a fairly recent warning saying that it may not be possible to move past the compat
style at this stage:
Overall these APIs look quite new, and it may be worth waiting a little while for them to settle down before trying to upgrade.
The basic upgrade was done in 877e38ac89ce548177d485b1c573dece035cf87c. I'll leave this bug open for a potential future switch to the modular style APIs (which still don't seem to be ready according to the documentation).
There's a new modular version of Firebase available - upgrade instructions here:
https://firebase.google.com/docs/web/modular-upgrade
This should also enable upgrading to 7.x.x of
@angular/fire
:https://github.com/angular/angularfire/blob/master/docs/version-7-upgrade.md