Plus suggestions · Search params & storage
0 modules · 0 exports · 1 repository · 0 e2e tests · 4 routes
The state Plus suggestions 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 plusSuggestionsSearchParams
app/features/plus-suggestions/plus-suggestions-search-params.ts:9
| Param | Value | Default | Loader | Description |
|---|---|---|---|---|
tier | v.picklist(PLUS_TIER_PARAMS) | "1" | true | |
alert | v.boolean() | false | false | |
editingSuggestionId | v.nullable(v.pipe(v.number(), v.integer(), v.gtValue(0))) | null | false |
Used in plus.suggestions.server.tsplus-suggestions-urls.tsplus.suggestions.tsx