Is there any way to transform search parameters without changing the URL? #4657
Unanswered
Hoofoo-WHU
asked this question in
Q&A
Replies: 1 comment
-
not possible (at least yet). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a string representing a relative date, such as
-1d
meaning yesterday,-1w
meaning last week. I want to convert these relative dates into a Date object but the URL remains unchanged.This is how I am doing it now
I got such a URL
http://localhost:8080/?date=%222025-07-15T14%3A05%3A27.195Z%22
Can I only perform such a conversion after useSearch like below?
Is there a way to perform the conversion after validateSearch without having to manually convert each time useSearch is used?
I think it is roughly like this:
Beta Was this translation helpful? Give feedback.
All reactions