MCPcopy Index your code
hub / github.com/FirebaseExtended/reactfire / App

Function App

example/withoutSuspense/App.tsx:16–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14import { getAuth } from 'firebase/auth';
15
16export const App = () => {
17 const firebaseApp = useFirebaseApp();
18 const auth = getAuth(firebaseApp);
19
20 useInitPerformance(async (firebaseApp) => {
21 const { getPerformance } = await import('firebase/performance');
22 return getPerformance(firebaseApp);
23 });
24
25 return (
26 <div className="flex flex-wrap justify-around p-4">
27 <AuthProvider sdk={auth}>
28 <Card title="Authentication">
29 <Auth />
30 </Card>
31 <Card title="Firestore">
32 <Firestore />
33 </Card>
34 <Card title="Functions">
35 <Functions />
36 </Card>
37 <Card title="Realtime Database">
38 <RealtimeDatabase />
39 </Card>
40 <Card title="Remote Config">
41 <RemoteConfig />
42 </Card>
43 <Card title="Storage">
44 <Storage />
45 </Card>
46 </AuthProvider>
47 <Analytics />
48 </div>
49 );
50};

Callers

nothing calls this directly

Calls 2

useFirebaseAppFunction · 0.85
useInitPerformanceFunction · 0.85

Tested by

no test coverage detected