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

Function RealtimeDatabase

example/withSuspense/RealtimeDatabase.tsx:83–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81};
82
83export const RealtimeDatabase = () => {
84 const firebaseApp = useFirebaseApp();
85 const database = getDatabase(firebaseApp);
86 return (
87 <SuspenseWithPerf fallback={<LoadingSpinner />} traceId="RTDB-root">
88 <DatabaseProvider sdk={database}>
89 <AuthWrapper fallback={<span>Sign in to use this component</span>}>
90 <CardSection title="Get/Set object value">
91 <Counter />
92 </CardSection>
93 <CardSection title="Work with lists of data">
94 <AnimalsList />
95 </CardSection>
96 </AuthWrapper>
97 </DatabaseProvider>
98 </SuspenseWithPerf>
99 );
100};

Callers

nothing calls this directly

Calls 1

useFirebaseAppFunction · 0.85

Tested by

no test coverage detected