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

Function RealtimeDatabase

example/withoutSuspense/RealtimeDatabase.tsx:88–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86};
87
88export const RealtimeDatabase = () => {
89 const firebaseApp = useFirebaseApp();
90 const database = getDatabase(firebaseApp);
91
92 return (
93 <DatabaseProvider sdk={database}>
94 <AuthWrapper fallback={<span>Sign in to use this component</span>}>
95 <CardSection title="Get/Set object value">
96 <Counter />
97 </CardSection>
98 <CardSection title="Work with lists of data">
99 <AnimalsList />
100 </CardSection>
101 </AuthWrapper>
102 </DatabaseProvider>
103 );
104};

Callers

nothing calls this directly

Calls 1

useFirebaseAppFunction · 0.85

Tested by

no test coverage detected