Skip to content

Commit

Permalink
make detach listener a separate case
Browse files Browse the repository at this point in the history
  • Loading branch information
yifanyang committed Dec 3, 2021
1 parent bff494f commit f60db90
Showing 1 changed file with 33 additions and 2 deletions.
35 changes: 33 additions & 2 deletions repo-scripts/size-analysis/bundle-definitions/database.json
Expand Up @@ -151,8 +151,7 @@
"ref",
"onChildAdded",
"onChildChanged",
"onChildRemoved",
"off"
"onChildRemoved"
]
}
]
Expand Down Expand Up @@ -190,6 +189,38 @@
}
]
},
{
"name": "Listen for value events + Detach listeners",
"dependencies": [
{
"packageName": "firebase",
"versionOrTag": "latest",
"imports": [
{
"path": "app",
"imports": [
"initializeApp"
]
}
]
},
{
"packageName": "firebase",
"versionOrTag": "latest",
"imports": [
{
"path": "database",
"imports": [
"getDatabase",
"ref",
"onValue",
"off"
]
}
]
}
]
},
{
"name": "Sort data",
"dependencies": [
Expand Down

0 comments on commit f60db90

Please sign in to comment.