Skip to content

Global status · Search params & storage

0 modules · 0 exports · 0 repositories · 0 e2e tests · 1 route

The state Global status 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

localStorage seenSqLikesPersisted

app/features/global-status/global-status-likes-seen.ts:7Not exportedNo round-trip test

Keyseen-sq-likes
Valuev.nullable(v.object({ groupId: v.number(), seenCount: v.number() }))
Defaultnull

Used in global-status-likes-seen.ts (own file)

localStorage lastSeenStatusPersisted

app/features/global-status/global-status-sounds.ts:14Not exportedNo round-trip test

Keyglobal-status-last-seen
Valuev.nullable(v.string())
Defaultnull

Used in global-status-sounds.ts (own file)