firebase2.default.firestore is not a function - React Firebase
I have resolved this issue by using require('firebase/firestore')
ES6:
import '@firebase/firestore'
reference: https://www.npmjs.com/package/@firebase/firestore
I have resolved this issue by using require('firebase/firestore')
ES6:
import '@firebase/firestore'
reference: https://www.npmjs.com/package/@firebase/firestore