pbeshai / use-query-params

React Hook for managing state in URL query parameters with easy serialization.
https://pbeshai.github.io/use-query-params
ISC License
2.13k stars 95 forks source link

Query parameters decorator #279

Open kopach opened 8 months ago

kopach commented 8 months ago

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