mirror of
https://github.com/zhigang1992/reactfire.git
synced 2026-06-12 09:08:43 +08:00
Cleaning up reference data when unbinding (#121)
This commit is contained in:
committed by
Jacob Wenger
parent
9e51a366e7
commit
ae024361d9
@@ -388,6 +388,7 @@
|
||||
}
|
||||
delete this.firebaseRefs[bindVar];
|
||||
delete this.firebaseListeners[bindVar];
|
||||
delete this.data[bindVar];
|
||||
|
||||
// Update state
|
||||
var newState = {};
|
||||
|
||||
Reference in New Issue
Block a user