An SSR-safe hook that keeps a piece of state in a URL query parameter, with typed codecs, defaults kept out of the link, replace-by-default history and every instance on the page in sync.
npx shadcn@latest add @zyeon/use-query-paramZyeon UI limits how often it can be asked, and useQueryParam hasn't had its turn. Its source will show here once it has.