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

Info: How does this package differ with TRPC

Open martin-fv opened this issue 2 years ago • 1 comments

Hi, great package, however I'd like to know how this differs with TRPC, which also offers type-safety for server routes, which also has a NextJs integration: https://trpc.io/docs/nextjs

Would love to hear your opinion...

martin-fv avatar Jun 06 '22 06:06 martin-fv

I'm not familiar with this much, but from what I can see - trpc validates API routes while this package can validate path's passed to next Link component. This helps to eliminate dead links.

kopach avatar May 10 '23 10:05 kopach