我正在使用 reactReduxFirebase 对用户进行身份验证。这是我用来创建商店的代码。
import { reactReduxFirebase } from "react-redux-firebase";
import firebase from "./services/firebase";
const createStoreWithFirebase = compose(reactReduxFirebase(firebase))(
createStore
);
const store = createStoreWithFirebase(
reducers,
{},
applyMiddleware(reduxThunk)
);
当记录的 reactReduxFirebase 未定义并且我收到时,撰写会引发错误。
TypeError: Object(...) is not a function