Open omareg94 opened 3 years ago
I agree that dynamic routes are simpler. I probably picked query params instead because they give you a lot more flexibility but certainly, for my example you could use dynamic routing. In real world apps, I've found that it's easy to get boxed into a corner with dynamic routing. Things like checking null conditions and conditionals around dynamic routing can be problematic.
Thank you.
Is there a reason why you avoided using Dynamic Routes in lesson 5.7. Server-side-Rendering-Landing-Page-with-Query-Params and created custom server.js while Dynamic Routes seems simpler?