Next.js Discord

Discord Forum

client side dynamic routes

Unanswered
German Hound posted this in #help-forum
Open in Discord
German HoundOP
hey i have API for NFT items which only send data when i pass userDevice fingerprint from localstorage so for that i will have to use Useffect hook. the issue is with dynamic routes i have

nft
->[itemid]
->page.tsx
page.tsx

i have routes like this now to fetch single nft i still need to page parameter from user local storage for which i will have to make it "use client" can anyone help in this approch so i can route for single nft

please note iam using export "static"

thank you so much

0 Replies