The most common Angular and Firebase code smell, and how to fix it
David East
1629

How would you suggest handling a slow loading query? I find that if I have to retrieve a larger dataset from firebase that using a resolve on the router leaves the perception of an app that has locked up. I much prefer to switch to the page and use some type of ‘loading’ icon to tell the user that something is happening. The $loaded() promise is a good way to change state from loading to displaying the actual data.

Like what you read? Give Phil Hodey a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.