Next.js Discord

Discord Forum

PPR placeholder values when using router.push

Unanswered
Alvi posted this in #help-forum
Open in Discord
how can i prevent from getting ppr placeholder values in useParams when using router.push to navigate

14 Replies

@Alvi what do you mean place holder do you mean the cached data and static shell?
I get a param with value %%drp:id:c2ee75dd83235%%
Ohhhh
@Alvi decodeURI()
Use that with the values certain char and spaces are coded to fit in the url
can i see the code you are using to get the params?
doesnt loook liek a uri decod issue
and what should the param be?
what did you put in the url?
www.website.com/route/[param] what did you use as param value in the url?
i passed a normal string/uuid
Lol the value of the string plz
Trying to see the input value and the output value
Also, I would like to see the way that you obtain the params please in the code