LOL I went through this exact discovery journey myself this morning, scratching my head as per why the router param was undefined..
I slowly but surely landed on this exact solution when finding this discussion:
github.com/vercel/next.js/discussi...
And of course, 2 minutes later, I land on your awesome post which is exactly what I was looking for all along ๐
Thanks Simon! Haha, yeah, this discussion was also what helped me when I had that problem.
Big fan of your work with Tailwind Labs btw, keep up the good work! ๐ค๐ผ
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
LOL I went through this exact discovery journey myself this morning, scratching my head as per why the router param was undefined..
I slowly but surely landed on this exact solution when finding this discussion:
github.com/vercel/next.js/discussi...
And of course, 2 minutes later, I land on your awesome post which is exactly what I was looking for all along ๐
Thanks Simon! Haha, yeah, this discussion was also what helped me when I had that problem.
Big fan of your work with Tailwind Labs btw, keep up the good work! ๐ค๐ผ