react-redux-firebase error 'Firebase instance does not yet exist. Check your compose function.'
问题 I'm using 'react-redux-firebase' in my project and want to integrate firebase into react-thunk. Everything works fine on local but I got error when deploy project to Firebase hosting. Uncaught Error: Firebase instance does not yet exist. Check your compose function. What is the problem here? store.js import { createStore, compose, applyMiddleware } from 'redux'; import thunk from 'redux-thunk'; import { reduxFirestore, getFirestore } from 'redux-firestore'; import { reactReduxFirebase,