Skip to content

Commit ae02436

Browse files
ediJacob Wenger
authored andcommitted
Cleaning up reference data when unbinding (#121)
1 parent 9e51a36 commit ae02436

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/reactfire.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@
388388
}
389389
delete this.firebaseRefs[bindVar];
390390
delete this.firebaseListeners[bindVar];
391+
delete this.data[bindVar];
391392

392393
// Update state
393394
var newState = {};

0 commit comments

Comments
 (0)