Version info
React: 16.13.0
Firebase: 7.10.0
ReactFire: 2.0.1
Other (e.g. Node, browser, operating system) (if applicable):
Test case
The sample in the reactfire codebase seems to throw this exception without any changes.
Steps to reproduce
Run the sample app included in this codebase.
Expected behavior
No crash
Actual behavior
TypeError: undefined is not an object (evaluating 'query._query.canonicalId')
getHashFromFirestoreQuery
node_modules/reactfire/firestore/index.js:33
30 | return useObservable(fromCollectionRef(query), queryId, checkStartWithValue(options));
31 | }
32 | function getHashFromFirestoreQuery(query) {
> 33 | return query._query.canonicalId();
34 | }
35 | export function useFirestoreCollectionData(query, options) {
36 | var idField = checkIdField(options);