Next.js Discord

Discord Forum

Data is somehow losing when navigating

Unanswered
Great Crested Flycatcher posted this in #help-forum
Open in Discord
Great Crested FlycatcherOP
This happens me since I updated to 13.5.3 and with no Vercel CLI Version ENV. In my dev environment everything works fine and it worked fine everywhere until I updated.

As you can see in the video, when navigating between pages, the Header loses all the data (is in the root layout) and it thinks you are not logged in or makes some random error because there is no value for some variable.

There is nothing at the Vercel logs.

6 Replies

Great Crested FlycatcherOP
The client side one that appears in the video is just because the menu is opened and when I click (this is the real problem) it navigates and loses all the information so there is no info, but I think thats not the point, the point is why I lose that information
Great Crested FlycatcherOP
I downgraded to 13.4.19 until some stable release, this is not the first error I saw in 13.5+, the other was solved thankfully but it seems like with every version above 13.5 I have a new error
And everything works fine in <13.5
Try using canary
"next": "canary"