Skip to content

Commit 2b56402

Browse files
authored
Add more detail to concurrent mode status
1 parent b6c8eeb commit 2b56402

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,14 @@ This repository is maintained by Googlers but is not a supported Firebase produc
9191

9292
### Extra Experimental [concurrent mode](https://reactjs.org/docs/concurrent-mode-suspense.html) features
9393

94+
These features are marked as *extra experimental* because they use experimental React features that [will not be stable until sometime after React 18 is released](https://github.com/reactwg/react-18/discussions/47#:~:text=Likely%20after%20React%2018.0%3A%20Suspense%20for%20Data%20Fetching).
95+
9496
- **Loading states handled by `<Suspense>`** - ReactFire's hooks throw promises
95-
that Suspense can catch. No more `isLoaded ?...` - let React
96-
[handle it for you](https://reactjs.org/docs/concurrent-mode-suspense.html).
97+
that Suspense can catch. Let React
98+
[handle loading states for you](https://reactjs.org/docs/concurrent-mode-suspense.html).
9799
- **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 />`.
98100

99-
Enable concurrent mode features by setting the `suspense` prop in `FirebaseAppProvider`:
101+
Enable concurrent mode features by following the [concurrent mode setup guide](https://reactjs.org/docs/concurrent-mode-adoption.html#installation) and then setting the `suspense` prop in `FirebaseAppProvider`:
100102

101103
```jsx
102104
<FirebaseAppProvider firebaseConfig={firebaseConfig} suspense={true}>

0 commit comments

Comments
 (0)