nico.fyi
    Published on

    Type safe routing for Next.js

    Authors

    I found a blog post that explains how to make Next.js routing more type-safe. It's an interesting concept, but when I tested the code, I encountered some issues. To address this, I created an npm package called @nicnocquee/next-type-safe-routing and published it on npm.

    The website also uses this library in certain areas, such as the blog route. You can find the code for this route on the GitHub repo of nicnocquee/nico.fyi.


    Are you working in a team environment and your pull request process slows your team down? Then you have to grab a copy of my book, Pull Request Best Practices!