Agreed. LayerStack (previously in Svelte UX) has a `queryParamStore` that leverages `searchParams.getAll()` and attempts to handle this well, although I typically use different query param types (underscore separated, etc)
https://www.layerstack.dev/docs/svelte-stores/queryParamsStore
https://www.layerstack.dev/docs/svelte-stores/queryParamsStore
Comments
I discovered getAll, when working on vite-plugin-kit-routes, yes, we all have our secrets ☺️