searchParams
Unanswered
Blanc de Hotot posted this in #help-forum
Blanc de HototOP
When I built my last project, I could use useSearchParams() to access the dynamic route id, such as [itemId].js, seems it stopped working now, is it deprecated?? Didn't find it in the doc either.
1 Reply
https://nextjs.org/docs/app/building-your-application/routing/dynamic-routes#example
@Blanc de Hotot check this out
@Blanc de Hotot check this out