react-url-query icon indicating copy to clipboard operation
react-url-query copied to clipboard

Feature request for removeInUrlQuery

Open botvsbot opened this issue 7 years ago • 1 comments

Do you want to request a feature or report a bug? feature

What is the current behavior? There is no support currently to remove a query param from url query. How can this be done with the existing apis?

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar. It will be good to have an api to remove specified param(s) in url query

What is the expected behavior?

Which versions of react-url-query, and which browser and OS are affected by this issue? Did this work in previous versions of react-url-query?

botvsbot avatar Sep 13 '18 17:09 botvsbot

Setting a parameter's value to null using replaceIn or pushIn should remove it from the query, but agreed it is not super clear.

pbeshai avatar Mar 24 '19 00:03 pbeshai