javascript - Difference between ref() & http.get() in terms of performance while querying data from specific location from firebase database? -


i have access data specific location, directly, without searching or sorting firebase database.

the database nested down suppose 3-levels (root -> child -> child's child) , have access child's child directly key value (no searching or sorting required).

while accessing data http.get(), particular data want (checked on console).

but whole data of root? , gives needed among them?

ref() on other hand have child() function, means access data directly without bothering other children in root.

is accessing data in firebase ref() has kind of performance advantage on simple http.get() method, on vuejs?

http.get() simple vue-resource.

then, why should use vuefire(need setup & connection db) on vue-resource (simple direct acess)?

are there other advantages vuefire has on get() method of vue-resource?


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -