Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add required legacyBehavior for passHref to work #68897

Merged
merged 1 commit into from
Aug 23, 2024
Merged

Conversation

wesbos
Copy link
Contributor

@wesbos wesbos commented Aug 14, 2024

the passHref is supposed to allow for using a child link (styled component or similar) but prop does not work without passing the legacyBehaviour. The docs do not mention this anywhere so I've added it here

@ijjk ijjk added the Documentation Related to Next.js' official documentation. label Aug 14, 2024
@ijjk
Copy link
Member

ijjk commented Aug 14, 2024

Allow CI Workflow Run

  • approve CI run for commit: c7adf9e

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@leerob leerob merged commit c29810d into vercel:canary Aug 23, 2024
32 of 36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Related to Next.js' official documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants