useOdds
mrdoge-ui/use-oddsFreeHook
Subscribes to a single match's odds over WebSocket (Business tier): pre-live or in-play, every matching market updates in place as odds change.
Install it
npx shadcn@latest add https://mrdoge.co/r/use-odds.jsonSource
1// Re-exported from @mrdoge/react. Every component subscribing to the same2// matchId + betTypes shares one underlying WS subscription and one copy of3// the data. Covers both pre-live and in-play odds, whichever markets are4// currently posted.5export { useOdds, type UseOddsOptions } 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 | |
| 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 | |
| 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 |
