NextJS app router trips/[id]/page.tsx
Hello all,
How do I correctly pull in [id] to page.tsx to console.log and display the id?
3 Replies
Server components
Client
If you need to set up props with getServerSideProps(), you'd do something like
Thank you both!