Industrial Training




Firebase - Best Practices


In this chapter, we will go through the best practices of Firebase.


Avoid Nesting Data

When you fetch the data from Firebase, you will get all of the child nodes. This is why deep nesting is not said to be the best practice.


Denormalize Data

When you need deep nesting functionality, consider adding couple of different collections; even when you need to add some data duplication and use more than one request to retrieve what you need.



Hi I am Pluto.