Confusion on Partial Prerendering
Unanswered
AlbertC0527 posted this in #help-forum
Im following https://nextjs.org/learn, on chapter 10, i set up ppr as instructed, I also embeded a
After running
I did use cookie in the
Date.now() in dashboard/page.tsx inside the <h1>Dashboard {Date.now()}</h1>After running
npm run build && npm run start, everytime I refresh the page I see a new number, I thought the number should stay the same?I did use cookie in the
Cards component just to make it dynamic.1 Reply
The reason I added a dynamic function in the Card component is to change the dashboard page to use ppr, if I simply followed the tutorial, the page remained static.