useLiveMatches
mrdoge-ui/use-live-matchesFreeHook
Subscribes to matches over WebSocket, filtered by sports/regions/competitions; updates in place as matches start, finish, or change.
Install it
npx shadcn@latest add https://mrdoge.co/r/use-live-matches.jsonSource
1// Re-exported from @mrdoge/react. Every component subscribing to the same2// sports/regions/competitions shares one underlying WS subscription and one3// copy of the data.4export { useLiveMatches, type UseLiveMatchesOptions } 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 |
|---|---|---|---|---|---|
| useLiveMatchuse-live-match | 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 |
