Replies: 1 comment
-
|
You could write a custom adapter to do this. Adapters are a hook (passed down via Context) that returns:
But really, nothing prevents you from defining the pathname as that key-value store. The trickier part would be to inject the values at the right place, since order matters, unlike search params. |
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.
-
How is it possibe to add a query directly to the url not as param.
I would like to be able to use something like this: query "test"
/a/b/c/test/
instead of
/a/b/c/?q=test
How can this be done?
Beta Was this translation helpful? Give feedback.
All reactions