API

React hooks

useObservable()

A React hook that returns the current/latest value from an observable

Signature

function useObservable<T>(observable$: Observable<T>): T | null
function useObservable<T>(observable$: Observable<T>, initialValue: T): T

useObservableEvent()

🚨
This page is a stub. Help us expand it by contributing!