Jul 29, 2017 · 1 min read
> The db.ref() method returns a promise
I think this is incorrect, ‘ref()’ isn’t returning a promise. In this case, ‘once()’ return promise.
> The db.ref() method returns a promise
I think this is incorrect, ‘ref()’ isn’t returning a promise. In this case, ‘once()’ return promise.