Skip to content

Latest commit

 

History

History
69 lines (41 loc) · 1.48 KB

useObservable.md

File metadata and controls

69 lines (41 loc) · 1.48 KB

ReactFire reference docs / useObservable

Module: useObservable

Table of contents

Interfaces

Functions

Functions

preloadObservable

preloadObservable<T>(source, id): SuspenseSubject<T>

Type parameters

Name
T

Parameters

Name Type
source Observable<T>
id string

Returns

SuspenseSubject<T>

Defined in

src/useObservable.ts:19


useObservable

useObservable<T>(observableId, source, config?): ObservableStatus<T>

Type parameters

Name Type
T unknown

Parameters

Name Type
observableId string
source Observable<T>
config ReactFireOptions

Returns

ObservableStatus<T>

Defined in

src/useObservable.ts:95