Skip to content

Associations · Search params & storage

1 module · 4 exports · 1 repository · 4 e2e tests · 2 routes

The state Associations 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 associationsSearchParams

app/features/associations/associations-search-params.ts:6

ParamValueDefaultLoaderDescription
inviteCode v.nullable(v.pipe(v.string(), v.length(SHORT_NANOID_LENGTH)))nulltrue

Used in associations-urls.tsassociations.server.ts