MCPcopy Index your code
hub / github.com/CSFrequency/react-firebase-hooks / onValue

Function onValue

database/useList.ts:55–57  ·  view source on GitHub ↗
(snapshots: DataSnapshot[] | null)

Source from the content-addressed store, hash-verified

53 };
54
55 const onValue = (snapshots: DataSnapshot[] | null) => {
56 dispatch({ type: 'value', snapshots });
57 };
58
59 let childAddedHandler: ReturnType<typeof firebaseOnChildAdded> | undefined;
60 const onInitialLoad = (snapshot: DataSnapshot) => {

Callers 3

useObjectFunction · 0.90
onInitialLoadFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected