You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(core): Queries for multiple documents now support single document state updates using `docChanges` (changes reference of document instead of collection)
* fix(dataReducer): delete does not remove data from `state.data` - #45
* feat(query): nested subcollections - @thiagovice - #73
* fix(query): queryStr parsing of deep nested collections - @thiagovice
* feat(query): `oneListenerPerPath` config option to only attach one callback per listener path - @compojoom
Copy file name to clipboardexpand all lines: README.md
+5
Original file line number
Diff line number
Diff line change
@@ -418,6 +418,11 @@ Default: `false`
418
418
419
419
Whether or not to allow multiple listeners to be attached for the same query. If a function is passed the arguments it receives are `listenerToAttach`, `currentListeners`, and the function should return a boolean.
420
420
421
+
### oneListenerPerPath
422
+
Default: `false`
423
+
424
+
If set to true redux-firestore will attach a listener on the same path just once & will count how many the listener was set. When you try to unset the lisnter, it won't unset until you have less than 1 listeners on this path
0 commit comments