Skip to content
Merged

v3.10.0 #1057

Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix(query): do not dispatch duplicate events from already hooked list…
…eners (#995) - @tjokimie
  • Loading branch information
tjokimie authored Jan 24, 2021
commit 77fd8ebc66006d547bb38cc29f618c4fe79e70b4
4 changes: 4 additions & 0 deletions src/actions/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ export function watchEvent(firebase, dispatch, options) {

setWatcher(firebase, dispatch, type, watchPath, id)

if (counter > 0) {
return
}

if (type === 'first_child') {
return firebase
.database()
Expand Down