next-type-safe-routes icon indicating copy to clipboard operation
next-type-safe-routes copied to clipboard

No support for page anchors

Open osdiab opened this issue 3 years ago • 1 comments

like /myRoute#some-section

Though to be honest it seems like query params ought to just be handled separately from this library - if it were me I would limit the API surface of this just to route paths, and just deal with search params outside of this library, to contain scope.

osdiab avatar Nov 11 '21 07:11 osdiab

I would tend to agree. I've just chosen to support query now as it was convenient for the project I created the library for. Might make sense to deprecate that functionality. I'll think about it :)

ckastbjerg avatar Nov 11 '21 22:11 ckastbjerg