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
Hi,
I have this structure RealTime structure
+Conversations -Conversation1 -Messages -message1 -message2
Initially I subscribe to the message changes with:
this.mylocalconversations.push({ id, type, subscription: return this.angularfire.object(Conversations/Conversation1/Messages); .snapshotChanges() .subscribe((conversation) => { console.log('new info') }), });
Then, i would insert new message with:
this.angularfire.list(Conversations/Conversation1/Messages).push(msg)
The result of this is:
new info new info
Why the subcribe event fires twice?
Thanks
The text was updated successfully, but these errors were encountered:
That would be your cache firing first and the server value next; I'm working on APIs to allow additional fidelity here. See #2012
Sorry, something went wrong.
No branches or pull requests
Hi,
I have this structure RealTime structure
Initially I subscribe to the message changes with:
Then, i would insert new message with:
this.angularfire.list(Conversations/Conversation1/Messages).push(msg)
The result of this is:
Why the subcribe event fires twice?
Thanks
The text was updated successfully, but these errors were encountered: