Troubles Reading / Writing search params using solid-router useSearchParams()
Hello, I have some trouble reading/writing an array of search params using solid-router/useSearchParams() primitive
Do you have any tips to make it work ?
4 Replies
Setting the same parameter twice is not supported at the moment
Ok, so the best way to do it currently would be to serialize / deserialize manually like so ?
yes.
i wonder why searchParams isn't exposed
you could still use a new instance for de/se though