You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,12 +91,14 @@ This repository is maintained by Googlers but is not a supported Firebase produc
91
91
92
92
### Extra Experimental [concurrent mode](https://reactjs.org/docs/concurrent-mode-suspense.html) features
93
93
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
+
94
96
-**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).
97
99
-**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
100
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`:
0 commit comments