pbeshai / use-query-params

React Hook for managing state in URL query parameters with easy serialization.

Home Page:https://pbeshai.github.io/use-query-params

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Query parameters decorator

kopach opened this issue · comments

commented

Is there any native way to "decorate"/map query params. I would like my query params to be properly named with long expressive names in my code but shortened in URL.
I can see this like sort of mapper object we can pass to achieve this
image

Is there anything like that? If not - can it be implemented?

Note: This only valid for query parameters names, not values/content