Skip to content

react-query-firebase / analytics / useAnalytics

Function: useAnalytics()

ts
function useAnalytics(): Analytics

Defined in: src/analytics/useAnalytics.ts:9

Hook to access Firebase analytics from the Firebase context.

Returns

Analytics

The analytics object from the Firebase context.

Released under the MIT License.