-
add
then I use
but when I request i check but when I copy the code to any other page, there is no problem, no console words out did i miss something? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey! Thanks for finding this bug. This is not the expected behavior and only is affecting We've fixed this behavior in the latest Next.js canary: Can you please give that a try? |
Beta Was this translation helpful? Give feedback.
Hey! Thanks for finding this bug.
This is not the expected behavior and only is affecting
pages/index.js
—if you rename the page topages/named.js
(or similar) you should see it not re-render.We've fixed this behavior in the latest Next.js canary:
next@^9.3.1-canary.1
.Can you please give that a try?