You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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?
The text was updated successfully, but these errors were encountered: