-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
We've recently grabbed this library to bring some type safety to a next app with many heavily nested routes. The improvement is awesome.
I'm wondering if there's any thought of extending the code generation to include a hook for each route. It is quite noisy to have to build up a path target from scratch every time, unpacking props from useRouter, and attaching them to a long string that has to be just right. Of course it's much better doing this now with some type safety.
I could have worn I saw a question like this on this repo (or maybe elsewhere) a few weeks back, but couldn't find it again.
Cheers!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels