docData observable stream emits identical object values multiple times in a row
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 42/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- angular, firebase, typescript
Rechercherichtung
Beginne mit dem verknüpften Reproduktionsprojekt firebase-observable-double-emission und seinen package scripts; führe es aus und drücke die Update-Schaltfläche, um den docData-Stream zu beobachten. Vergleiche die wiederholten identischen Emissionen mit der erwarteten einzelnen Emission und nutze dabei die bereitgestellte Stack Overflow-Diskussion und den Hinweis zur Protokollierung als Kontext.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Version info
Angular: ^18.0.0
Firebase: ^10.13.0
AngularFire: ^18.0.1
Other (e.g. Ionic/Cordova, Node, browser, operating system):
"@ionic/angular": "^8.0.0",
Tested on MacOS Chrome, but reproducible elsewhere. Else let me know.
How to reproduce these conditions
Simply press the update button after strating this project, it will update the game entity and make it emit twice:
https://github.com/folsze/firebase-observable-double-emission
here is a related stackoverflow post that I created:
Steps to set up and reproduce
run with package json npm run
then simply press the update button, it will update the game entity and make it emit twice:
Debug output
** Output from firebase.database().enableLogging(true); **
<- I have no idea what this is suppoed to do for me. I added this but receive no logs:
import { enableLogging } from '@angular/fire/database';
enableLogging(true);
Expected behavior
It only emits once
Actual behavior
it emits multiple times (twice currently for this simple scenario):
- Vorherrschende Sprache
- TypeScript
- Sterne
- 7.8k
- Forks
- 2.2k
- Ø Merge
- 3 T. 6 Std.
- Gemergte PRs (30 T.)
- 5
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus angular/angularfire
-
comp: build/pipeline type: bug version: current (v17+)
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
angular/angularfire#3766 ·
-
comp: schematics type: bug version: current (v17+)
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 76/100
angular/angularfire#3768 ·
-
comp: docs type: chore version: current (v17+)
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 58/100
angular/angularfire#3764 ·
-
comp: firestore comp: ssr priority: P0 (critical) type: feature version: current (v17+)
angular/angularfire#3757 · 1 zugewiesene Person ·
-
Six `firebase` entry points have no `@angular/fire` equivalent, so their exports are unreachable Offencomp: core type: feature
angular/angularfire#3755 · 1 zugewiesene Person ·
Alle Issues in angular/angularfire
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
-
bug v2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
modelcontextprotocol/inspector#2458 · 1 Kommentar ·
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
carbon-design-system/ibm-products#9907 ·