angular / angular/angularfire

listener sends response everytime when the same listener is attached in a new tab

Open
#3,481 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
7.8k
Forks
2.2k
Avg merge
22h 28m
Merged PRs (30d)
6

Description

I have added a listener to get a list of records but this listener sends response everytime when the same listener is attached in a new tab.

Is there any way to stop it?

I used stateChanges() to retrieve records

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the behavior with stateChanges() by attaching the same listener in two tabs and observing the repeated responses. Trace the AngularFire/Firebase listener path involved; done means the listener still returns the records without sending unwanted repeated responses.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, firebase, typescript
Domain
databases, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.