Tournament match · Search params & storage
1 module · 15 exports · 1 repository · 0 e2e tests · 2 routes
The state Tournament match keeps in the URL and in the browser's storage. Every param has a default and never fails to decode, see Search params, and each definition should have an assertRoundTrips test. The definitions of the whole app are listed in the reference.
Search params
URL tournamentMatchesSearchParams
app/features/tournament-match/tournament-matches-search-params.ts:29
| Param | Value | Default | Loader | Description |
|---|---|---|---|---|
tab | v.picklist(TOURNAMENT_MATCHES_TABS) | "scheduled" | false | |
division | custom divisionCodec | null | true | Starting bracket idx of the league division whose sets are listed, or every division; null resolves to the viewer's own division or the first one. |