Type safe create url
Hello guys, I need to create a type-safe recovery password email with a token as URL search params.
I would like to have a function that generates that URL like a Link component, but I haven’t found anything.
I created this utility function to solve the problem, but it would be great if the router provided something like this.
1 Reply
graceful-blue•2mo ago
router.buildLocation()