react-query-firebase
react-query-firebase copied to clipboard
Basic Example for querying firestore collections duplicate variable
trafficstars
The example here under Basic Example imports "query" but also declares a const query in the function body causing this example not to work.
It also gives an error:
Uncaught ReferenceError: Cannot access 'query' before initialization
If I move the query before the function it works, but then I am not able to give it where variables.