rozaxe / r-use-observable

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

useObservable

function Counter() {
    const count = useValueObservable(someObservable$, 0)
    return <div>{count}</div>
}

About

License:MIT License


Languages

Language:TypeScript 100.0%