Next.js Discord

Discord Forum

Any workaround for useparams() with "output: export" ?

Unanswered
Maine Coon posted this in #help-forum
Open in Discord
Maine CoonOP
Hey, I have an app that I want to build and have it fully clientsided, is there a way to make this work?
I have a route /cases/[id] but I'm not allowed to use useParams() with output export because I need to have generateStaticParams, but can't have that because I don't know all the items before and I also have "use client", any ideas?

0 Replies