How do I keep pages from re-rendering completely in Next.js? #10832
Unanswered
lifeiscontent
asked this question in
Help
Replies: 2 comments 13 replies
-
I'm not sure what you are expecting. You mention state is lost. However I don't see any state being set. The menu is not rerendered upon navigation. But the rest is when using the |
Beta Was this translation helpful? Give feedback.
12 replies
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
E.g.
if I have a page called a.js, b.js, and c.js
in each file it looks like this
a.js
b.js
c.js
each page will fully reload regardless of the
shallow
prop on the link and the state is lost. I would assume pages should be diffed so how can I get this behavior to work?Beta Was this translation helpful? Give feedback.
All reactions