Automatic unbinding after idle? #1428
Unanswered
davidstackio
asked this question in
Questions and Help
Replies: 1 comment 1 reply
-
I'm not aware of such behavior. Have you been able to confirm from Firebase docs that this is intended? In VueFire, the subscription is removed when the component unmounts. Unrelated but you can write const activityCol = useCollection<ActivityDoc>(activityQuery); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using
useCollection
with thetarget
option inside a Pinia store using the Composition API, the data initially is shown in the UI. However, after a couple minutes of being idle, there is nothing showing any more. The store seems to automatically unbind. Only way to fix it is by refreshing the page.Is this expected behavior?
store.ts
Beta Was this translation helpful? Give feedback.
All reactions