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
constReact=require("react-native");constfirebase=require("firebase");// Initialize FirebaseconstfirebaseConfig={apiKey: "<YOUR-API-KEY>",authDomain: "<YOUR-AUTH-DOMAIN>",databaseURL: "<YOUR-DATABASE-URL>",storageBucket: "",};firebase.initializeApp(firebaseConfig);// Create a reference with .ref() instead of new Firebase(url)constrootRef=firebase.database().ref();exportdefaultrootRef;// <<<<
assume we can just make this a module and initialize the db this way, but I am pretty new to Firebase
The text was updated successfully, but these errors were encountered:
Should we just do this?
assume we can just make this a module and initialize the db this way, but I am pretty new to Firebase
The text was updated successfully, but these errors were encountered: