You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
firebase.js is a really large file and while you can load the individual pieces of the SDK (firebase-app, firebase-database, firebase-auth, etc) you have to do so before calling firebase.initializeApp(). This, for most use cases, means that developers load the entire firebase SDK before their app code which results in a lot of time blocking the main thread.
Describe your environment
Describe the problem
firebase.js
is a really large file and while you can load the individual pieces of the SDK (firebase-app, firebase-database, firebase-auth, etc) you have to do so before callingfirebase.initializeApp()
. This, for most use cases, means that developers load the entire firebase SDK before their app code which results in a lot of time blocking the main thread.Steps to reproduce:
firebase.initializeApp()
firebase.database()
Relevant Code:
http://jsbin.com/tovayaz/2/edit?js,console
The text was updated successfully, but these errors were encountered: