This repository has been archived by the owner on Dec 15, 2018. It is now read-only.
Intentionally clearing a queryParam when persistQuery
is true
#223
Labels
persistQuery
is true
#223
It looks like there's no way to intentionally clear a queryParam when you're also persisting the existing query. It'd be great if I could do something like
to wipe out the
page
param but keep any other queryParams that may have been set on the url.This would make it easy to have implicit or default values for queryParams, so that we'd never have to explicitly include a param for
?page=1
, for instance.Does that seem reasonable? Filtering out params that are set but with
null
orundefined
values?(We've also been mildly frustrated that empty string params are also passed through, but that may be a separate issue.)
The text was updated successfully, but these errors were encountered: