#Set page property via Custom App (authn)

2 messages · Page 1 of 1 (latest)

wary nimbus
#

I'm using a custom App (in the pre /app) setup on Next 13.1.1

On the server side the logs show that my custom page property is being set, but on the client side, I'll sometimes see an undefined value. This mostly happens during page navigation via NextLink and can be "fixed" by refreshing the page.

A: Is this a known issue with Next 13 /pages directory + Custom app?
B: Any thoughts why it only seems to happen on one of many pages
C: Is there another approach to setting a common property (the user property) for all pages other than using the custom app I should be looking at.

TY

wary nimbus
#

I have noticed that on the one random page this is failing on, the Link component is doing a fetch to _next/development/data/pageName.json but the cookie on this one call isn't being used. I have other links that are generated using the same code, and ARE passing the cookie.