-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
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
Page reload hangs when Firestore DocumentReference is enumerable in vuex state #1154
Comments
I've just realised that this only happens with the new vuex backend enabled in settings |
Anothing thing that I've noticed (while trying to deep clone the same object) - there are cyclic references in there somewhere. Maybe this issue is more about vuex devtools not supporting / handling cyclic references in the store gracefully during reload/unload? |
I have the same issue. The page goes to infinity reloading if I try to ".get()" collection from Firestore. |
I've created firebase/firebase-js-sdk#4258 over at the firestore side to try and get it fixed at that end too. I also dug into it a little more and this issue seems to only happen when the fast path The only work around I've found so far is to avoid/remove/hide these circular references from the enumerable properties that vue/vuex can see. I do this by redefining the property using |
Version
5.3.3
Browser and OS info
Chrome 79.0.3945.130 / Windows 10
Steps to reproduce
What is expected?
The page refreshes
What is actually happening?
The page hangs with a backwards spinner as the page never leaves itself. Eventually you get a Stack size exceeded error in the log.
I'm sorry, I couldn't figure out a way to create a reproducible project with all the correct libraries and auth details for Firebase.
The text was updated successfully, but these errors were encountered: