Hard refresh / reload happening when changing the page
Unanswered
Rule posted this in #help-forum
![Avatar](https://cdn.discordapp.com/avatars/158650746449952768/a99e4daf88837d784f4ba36cd48af325.webp?size=256)
RuleOP
I'm using pages router and my current pages directory looks like this:
pages
- index.tsx
- customer
- [customerId]
- x.tsx
- y.tsx
- working.tsx
For some reason when clicking any link that should navigate the user to /customer/[customerId]/x or y triggers a hard refresh which makes the _app.tsx file refresh itself too.
Routes such as /working is working completely fine and there is no hard refresh. What could be the issue?
pages
- index.tsx
- customer
- [customerId]
- x.tsx
- y.tsx
- working.tsx
For some reason when clicking any link that should navigate the user to /customer/[customerId]/x or y triggers a hard refresh which makes the _app.tsx file refresh itself too.
Routes such as /working is working completely fine and there is no hard refresh. What could be the issue?
4 Replies
![Avatar](https://cdn.discordapp.com/embed/avatars/1.png)
Serengeti
Hey @Rule I'm facing a similar problem my local site keeps reloading when I switch tabs and I loose all the app's state
did you manage to find a solution?
![Avatar](https://cdn.discordapp.com/avatars/158650746449952768/a99e4daf88837d784f4ba36cd48af325.webp?size=256)
RuleOP
I didn't find any solution yet.
![Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
Northeast Congo Lion
Did you finally find a solution ?