useLiveMatch
mrdoge-ui/use-live-matchFreeHook
Subscribes to a single match over WebSocket: score, status, and clock update in real time as the match progresses.
Install it
npx shadcn@latest add https://mrdoge.co/r/use-live-match.jsonSource
1// Re-exported from @mrdoge/react. Every component subscribing to the same2// matchId shares one underlying WS subscription and one copy of the data.3export { useLiveMatch, type UseLiveMatchOptions } from "@mrdoge/react"
What it pulls in
npm packages
Files it writes
More from mrdoge-ui
All 26 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| useLiveMatchesuse-live-matches | mrdoge-ui | Hooks | Free | 3 deps · 2 files | |
| useMatchuse-match | mrdoge-ui | Hooks | Free | 3 deps · 2 files | |
| useMatchesuse-matches | mrdoge-ui | Hooks | Free | 3 deps · 2 files | |
| useOddsuse-odds | mrdoge-ui | Hooks | Free | 3 deps · 2 files | |
| useOddsMovementuse-odds-movement | mrdoge-ui | Hooks | Free | 1 dep | |
| useRegionsuse-regions | mrdoge-ui | Hooks | Free | 3 deps · 2 files | |
| useTrendingMatchesuse-trending-matches | mrdoge-ui | Hooks | Free | 3 deps · 2 files |
