Skip to content

Commit da4e7f6

Browse files
authored
clarify concurrent mode
1 parent 45bcda0 commit da4e7f6

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ Depending on your targeted platforms you may need to install polyfills. The most
2828
## Docs
2929

3030
- [**Quickstart**](./docs/quickstart.md)
31-
- Advanced: If you're using Concurrent Mode, check out the [Concurrent Mode quickstart](./docs/quickstart-concurrent-mode.md)
3231
- [**Common Use Cases**](./docs/use.md)
3332
- [**API Reference**](./docs/reference)
3433
- [**v3 -> v4 Upgrade Guide**](./docs/upgrade-guide.md)
@@ -96,3 +95,11 @@ This repository is maintained by Googlers but is not a supported Firebase produc
9695
that Suspense can catch. No more `isLoaded ?...` - let React
9796
[handle it for you](https://reactjs.org/docs/concurrent-mode-suspense.html).
9897
- **Automatically instrument your `Suspense` load times** - Need to automatically instrument your `Suspense` load times with [RUM](https://firebase.google.com/docs/perf-mon)? Use `<SuspenseWithPerf />`.
98+
99+
Enable concurrent mode features by setting the `suspense` prop in `FirebaseAppProvider`:
100+
101+
```jsx
102+
<FirebaseAppProvider firebaseConfig={firebaseConfig} suspense={true}>
103+
```
104+
105+
See concurrent mode code samples in [example/withSuspense](https://github.com/FirebaseExtended/reactfire/tree/main/example/withSuspense)

0 commit comments

Comments
 (0)