Does Reactfire work with the current production (stable) version of React?
See original GitHub issueHey,
Is it possible to use Reactfire with the current production version of react? From the documentation, it is clear the intended use of Reactfire is Concurrent mode. However, it feels like the main feature that is used from Concurrent mode is the <Suspense>
component for data fetching.
When going through the React documentation for Concurrent mode, I found a feature comparison of the different modes here where it shows that<Suspense>
is also supported in legacy mode. When clicking on the link, it even browses towards the <Suspense>
documentation for data fetching: https://reactjs.org/docs/concurrent-mode-adoption.html#feature-comparison.
Thanks for clarifying if we can only use Reactfire in Concurrent mode or if it will also work in the current production version of React.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:5 (1 by maintainers)
Top GitHub Comments
Thanks for the clear answer! From your documentation, it was quite clear that this was the case but the React docs did confuse me. The proposed solution in PR https://github.com/FirebaseExtended/reactfire/pull/255 looks great.
Please provide any feedback here https://github.com/FirebaseExtended/reactfire/discussions/309