Skip to content
Discussion options

You must be logged in to vote

Hey! Thanks for finding this bug.

This is not the expected behavior and only is affecting pages/index.js—if you rename the page to pages/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?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@yjisme
Comment options

Answer selected by Timer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants