Lesson Weekend

Let's briefly review some important details about referencing Firebase documentation. With so much information in the docs, it can be easy to get lost or find yourself incorrectly referencing the wrong docs.

Firebase Documentation


When accessing the Firebase docs from its homepage https://firebase.google.com/docs/, take note that guides on using Firebase and its products are found via the Build menu item, and the API reference (with details about object types) is found via the Reference menu item:

Anytime you are looking at a build guide or the API reference, make sure that you're reading the docs for Web or JavaScript version 9 (the modular version):

The same is true for any code snippets: anytime you are looking at code examples in a build guide, make sure that you are looking at code from Web or JavaScript version 9 (the modular version). For example, in the following code example from the Firestore docs on getting a document, we have the Web version 9 selected, which is circled in red in the image below.

Use _Web_ or _JavaScript version 9_ when viewing Firebase code snippets or docs.