Closed BirdTho closed 2 years ago
I too am having the same problem
you should install query-string and use-query-params, i solve this problem when i install query-string
Thanks for the tip!
@pbeshai Maybe query-string
should be listed in the dependencies?
I have this use-query-params library, and in local React development it works fine, but when I deploy on production then do anything that would change the URL, such as using a set*() method on a useQueryParam() hook I immediately get issues in a more production scenario.
In updateLocation.ts/js (and I'm using Typescript) there's a call to parseUrl() in updateLocation() which registers as an Object, but is being called like a function. What might cause this sort of hiccup?
var href = parseUrl(location.href || '').url + search;