- Firebase Tutorial
- Firebase - Home
- Firebase - Overview
- Firebase - Environment Setup
- Firebase - Data
- Firebase - Arrays
- Firebase - Write Data
- Firebase - Write List Data
- Firebase - Write Transactional Data
- Firebase - Read Data
- Firebase - Event Types
- Firebase - Detaching Callbacks
- Firebase - Queries
- Firebase - Filtering Data
- Firebase - Best Practices
- Firebase - Email Authentication
- Firebase - Google Authentication
- Firebase - Facebook Authentication
- Firebase - Twitter Authentication
- Firebase - Github Authentication
- Anonymous Authentication
- Firebase - Offline Capabilities
- Firebase - Security
- Firebase - Deploying
- Firebase Useful Resources
- Firebase - Quick Guide
- Firebase - Useful Resources
- Firebase - Discussion
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.
Advertisements