Skip to content

Conversation

@lforst
Copy link
Contributor

@lforst lforst commented Dec 15, 2022

In Next.js v13.0.7 anchor tags inside Link elements started throwing hydration errors in the browser. This flagged our session integration tests.

We fix this by abiding by the rules Next.js gives us: https://nextjs.org/docs/api-reference/next/link#if-the-child-is-a-custom-component-that-wraps-an-a-tag

I opened an issue to let Vercel folks know that this suddenly started happening: vercel/next.js#44050

@lforst lforst marked this pull request as ready for review December 15, 2022 14:40
@lforst lforst enabled auto-merge (squash) December 15, 2022 15:02
@lforst lforst merged commit d972ded into master Dec 15, 2022
@lforst lforst deleted the lforst-try-fix-integration-tests-for-next-13.0.7 branch December 15, 2022 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants