We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://stackblitz.com/edit/vitejs-vite-iapj2w?file=src/App.vue
Install [email protected] Run the following code
<script setup lang="ts"> import { collection, orderBy, query } from "firebase/firestore"; import { useCollection, useFirestore } from "vuefire"; const db = useFirestore(); const { data, pending } = useCollection(query(collection(db, "users"), orderBy("createdAt", "desc")), { ssrKey: "users" }); </script> <template> <div> {{ data.length }} - {{ pending }} </div> </template>
It works as expected when using useCollection without a query
const { data, pending } = useCollection(collection(db, "users"));
Note : my app is a SPA (I don't use Nuxt)
The text was updated successfully, but these errors were encountered:
Hello @posva 👋
I just added a repro link, let me know if you need more information!
Thanks!
Sorry, something went wrong.
Can confirm this. I am having the same problem.
61513f6
posva
No branches or pull requests
Reproduction
https://stackblitz.com/edit/vitejs-vite-iapj2w?file=src/App.vue
Steps to reproduce the bug
Install [email protected]
Run the following code
Expected behavior
Actual behavior
Additional information
It works as expected when using useCollection without a query
Note : my app is a SPA (I don't use Nuxt)
The text was updated successfully, but these errors were encountered: