Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/FirebaseExtended/reactfire
/ Analytics
Function
Analytics
example/withoutSuspense/Analytics.tsx:16–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
14
}
15
16
export function Analytics() {
17
const app = useFirebaseApp();
18
return (
19
<AnalyticsProvider sdk={getAnalytics(app)}>
20
<MyPageViewLogger />
21
</AnalyticsProvider>
22
);
23
}
Callers
nothing calls this directly
Calls
1
useFirebaseApp
Function · 0.85
Tested by
no test coverage detected