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

Function Component

test/useObservable.test.tsx:157–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

155 const observable$ = of(observableVal);
156
157 const Component = () => {
158 const { data: val } = useObservable('test-3', observable$, { initialData: startVal, suspense: true });
159 expect(val).toEqual(observableVal);
160 return <h1>Hello</h1>;
161 };
162
163 render(<Component />);
164 });

Callers

nothing calls this directly

Calls 1

useObservableFunction · 0.85

Tested by

no test coverage detected