next-type-safe-routes
next-type-safe-routes copied to clipboard
Info: How does this package differ with TRPC
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...
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.