|
2 | 2 |
|
3 | 3 | <!-- toc --> |
4 | 4 |
|
5 | | -- [Setup](#setup) |
6 | | - * [Initialize product SDKs and register them with ReactFire](#initialize-product-sdks-and-register-them-with-reactfire) |
7 | | - * [Connect to the Firebase Local Emulator Suite](#connect-to-the-firebase-local-emulator-suite) |
8 | | - * [Set up App Check](#set-up-app-check) |
9 | | -- [Auth](#auth) |
10 | | - * [Display the current signed-in user](#display-the-current-signed-in-user) |
11 | | - * [Only render a component if a user is signed in](#only-render-a-component-if-a-user-is-signed-in) |
12 | | -- [Cloud Firestore](#cloud-firestore) |
13 | | - * [Access data offline](#access-data-offline) |
14 | | - * [Show a single document](#show-a-single-document) |
15 | | - * [Show a list of data (collection)](#show-a-list-of-data-collection) |
16 | | -- [Cloud Functions](#cloud-functions) |
17 | | - * [Call a function based on user interaction](#call-a-function-based-on-user-interaction) |
18 | | - * [Call a function on render](#call-a-function-on-render) |
19 | | -- [Realtime Database](#realtime-database) |
20 | | - * [Show an object](#show-an-object) |
21 | | - * [Show a list of data](#show-a-list-of-data) |
22 | | -- [Cloud Storage for Firebase](#cloud-storage-for-firebase) |
23 | | - * [Fetch and show an image](#fetch-and-show-an-image) |
24 | | - * [Show upload status](#show-upload-status) |
25 | | -- [Remote Config](#remote-config) |
26 | | - * [Initialize, fetch, and activate](#initialize-fetch-and-activate) |
27 | | - * [Get a string](#get-a-string) |
28 | | -- [Performance Monitoring](#performance-monitoring) |
29 | | - * [Load Performance Monitoring asynchronously](#load-performance-monitoring-asynchronously) |
30 | | -- [Log Page Views to Google Analytics for Firebase with React Router](#log-page-views-to-google-analytics-for-firebase-with-react-router) |
31 | | -- [Advanced: Using RxJS observables to combine multiple data sources](#advanced-using-rxjs-observables-to-combine-multiple-data-sources) |
| 5 | +- [Using ReactFire](#using-reactfire) |
| 6 | + - [Setup](#setup) |
| 7 | + - [Initialize product SDKs and register them with ReactFire](#initialize-product-sdks-and-register-them-with-reactfire) |
| 8 | + - [Connect to the Firebase Local Emulator Suite](#connect-to-the-firebase-local-emulator-suite) |
| 9 | + - [Set up App Check](#set-up-app-check) |
| 10 | + - [Auth](#auth) |
| 11 | + - [Display the current signed-in user](#display-the-current-signed-in-user) |
| 12 | + - [Only render a component if a user is signed in](#only-render-a-component-if-a-user-is-signed-in) |
| 13 | + - [Cloud Firestore](#cloud-firestore) |
| 14 | + - [Access data offline](#access-data-offline) |
| 15 | + - [Show a single document](#show-a-single-document) |
| 16 | + - [Show a list of data (collection)](#show-a-list-of-data-collection) |
| 17 | + - [Cloud Functions](#cloud-functions) |
| 18 | + - [Call a function based on user interaction](#call-a-function-based-on-user-interaction) |
| 19 | + - [Call a function on render](#call-a-function-on-render) |
| 20 | + - [Realtime Database](#realtime-database) |
| 21 | + - [Show an object](#show-an-object) |
| 22 | + - [Show a list of data](#show-a-list-of-data) |
| 23 | + - [Cloud Storage for Firebase](#cloud-storage-for-firebase) |
| 24 | + - [Fetch and show an image](#fetch-and-show-an-image) |
| 25 | + - [Show upload status](#show-upload-status) |
| 26 | + - [Remote Config](#remote-config) |
| 27 | + - [Initialize, fetch, and activate](#initialize-fetch-and-activate) |
| 28 | + - [Get a string](#get-a-string) |
| 29 | + - [Performance Monitoring](#performance-monitoring) |
| 30 | + - [Load Performance Monitoring asynchronously](#load-performance-monitoring-asynchronously) |
| 31 | + - [Log Page Views to Google Analytics for Firebase with React Router](#log-page-views-to-google-analytics-for-firebase-with-react-router) |
| 32 | + - [Advanced: Using RxJS observables to combine multiple data sources](#advanced-using-rxjs-observables-to-combine-multiple-data-sources) |
32 | 33 |
|
33 | 34 | <!-- tocstop --> |
34 | 35 |
|
@@ -541,4 +542,4 @@ function App() { |
541 | 542 |
|
542 | 543 | ## Advanced: Using RxJS observables to combine multiple data sources |
543 | 544 |
|
544 | | -All ReactFire hooks are powered by [`useObservable`](./reference.md#useObservable). By calling `useObservable` directly, you can subscribe to any observable in the same manner as the built-in ReactFire hooks. If you use [RxFire](https://github.com/firebase/firebase-js-sdk/tree/master/packages/rxfire#rxfire) and `useObservable` together, you can accomplish more advanced read patterns (like [OR queries in Firestore](https://stackoverflow.com/a/53497072/4816918)!). |
| 545 | +All ReactFire hooks are powered by [`useObservable`](./reference/modules/useObservable.md). By calling `useObservable` directly, you can subscribe to any observable in the same manner as the built-in ReactFire hooks. If you use [RxFire](https://github.com/firebase/firebase-js-sdk/tree/master/packages/rxfire#rxfire) and `useObservable` together, you can accomplish more advanced read patterns (like [OR queries in Firestore](https://stackoverflow.com/a/53497072/4816918)!). |
0 commit comments