Next.js Discord
Discord Forum
get path params in app router in client side
Answered
Canyon Towhee
posted this in
#help-forum
Open in Discord
Canyon Towhee
OP
2024-05-05T13:14:14.768Z
like /user/:userId
get userId in client side.
Answered by
@ts-ignore
https://nextjs.org/docs/app/api-reference/functions/use-params
View full answer
1 Reply
@ts-ignore
2024-05-05T13:15:29.817Z
https://nextjs.org/docs/app/api-reference/functions/use-params
Answer