Hooks, Context Providers, and Components that make it easy to interact with Firebase.
useUser
's initialData
override by @jhuleatt in https://github.com/FirebaseExtended/reactfire/pull/539
Full Changelog: https://github.com/FirebaseExtended/reactfire/compare/v4.2.2...v4.2.3
Full Changelog: https://github.com/FirebaseExtended/reactfire/compare/v4.2.1...v4.2.2
Note: this is a very niche use case for those using ReactFire with a custom reconciler. Most ReactFire devs shouldn't import the
*SdkContext
s directly.
Full Changelog: https://github.com/FirebaseExtended/reactfire/compare/v4.2.0...v4.2.1
useCallableFunctionResponse
hook to make it easier to call a function on render (#449)^6.0.2
to get new types for Cloud Functions helper (https://github.com/FirebaseExtended/rxfire/pull/34)fromTask
(#448)Fix an issue where ReactFire hooks wouldn't move past the loading
state if undefined
was the first value emitted (PR #446, Issue #440)
useAnalytics
, AnalyticsProvider
, useInitAnalytics
) (PR #431)
Thank you @shiiinji!
Thank you @sujishpatel!
@ts-expect-error
instead of @ts-ignore
for safer typings (PR #435)
Thank you @sujishpatel!
ReactFire version 4 supports Firebase version 9. Firebase v9 introduces a new API that is more tree-shakeable, which should result in reduced bundle size and therefore faster page loads for your users!
ReactFire v3 -> v4 upgrade guide
Check out discussion #402 for more context.
ReactFire v3 source is available in the v3
branch.