Replies: 2 comments 6 replies
-
It looks like
|
Beta Was this translation helpful? Give feedback.
1 reply
-
@Feiyang1 for initializeApp being idempotent now, does that mean so is initializeAuth? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
9.0.0-beta.8
has been released with the following changes:FirebaseFirestore
->Firestore
FirebaseDatabase
->Database
FirebaseMessaging
->Messaging
StorageService
->FirebaseStorage
(Can’t useStorage
which conflicts with the global type forlocalStorage
)Reference
(fromfirebase/database
) ->DatabaseReference
FirebaseStorageError
->StorageError
Settings
(fromfirebase/firestore
) ->FirestoreSettings
AnalyticsOptions
->AnalyticsSettings
FirebaseAppConfig
->FirebaseAppSettings
Settings
(fromfirebase/remote-config
) ->RemoteConfigSettings
initializeApp()
becomes idempotent to make it work better with HMR and other use cases. It can be called more than once with the same options and will return the same instance. It will throw if called more than once with different options. No need to wrapinitializeApp()
in the if block anymore:Beta Was this translation helpful? Give feedback.
All reactions