Trophies · Search params & storage
2 modules · 11 exports · 1 repository · 6 e2e tests · 7 routes
The state Trophies 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.
Web storage
sessionStorage trophyTermsAgreedPersisted
app/features/trophies/trophies-persisted.ts:5
Whether the user has agreed to the trophy terms during this browser session
| Key | trophyTermsAgreed |
|---|---|
| Value | v.boolean() |
| Default | false |
Used in trophies-utils.ts