Next.js Discord

Discord Forum

searchParams

Unanswered
Blanc de Hotot posted this in #help-forum
Open in Discord
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