DEV Community

Discussion on: SWR + Dynamic Routes in Next.js

Collapse
 
simonswiss profile image
Simon Vrachliotis 🏄🏀💻😍

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 😅

Collapse
 
wh1zk1d profile image
Jannik Baranczyk

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! 🤙🏼