为了让reduxFirestore在我的应用程序中工作,我尝试了以下方法: import React from 'react';import(firebase, fbConfig),当我调用firestore时,我会在我的操作中得到这个错误: TypeError: getFirestore is not a function 动作代码: imp
我和我的团队进行了讨论。我们在讨论是否应该导出firebase对象以在ReactJS项目中的任何地方使用,或者我们是否必须使用Redux来存储firebase对象。import * as firebase from "firebase";
apiKey: "xxxx",
authDomain: "xxxxx&