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

fix(react-link): update example by handle next 13 #1073

Closed
wants to merge 1 commit into from

Conversation

hyesungoh
Copy link

📝 Description

  • Using linkContent at link - Next.js Link

    • there are already exist file, but not using it
  • next.js 13 handling example

    • current example cause hydration error
    • there are two way to handle it, what I found
      • using legacyBehavior prop
      • using Link tags 'as' prop with NextLink

I found this PR, so I handle with this as prop #446

⛳️ Current behavior (updates)

스크린샷 2023-03-16 오후 4 16 55

🚀 New behavior

image

💣 Is this a breaking change (Yes/No):

No. just changin docs

📝 Additional Information

does not work example Go to Button, I do not know why 😢

I guess... are there not allowed importing 'next/link' where linkContent mdx files?

@vercel
Copy link

vercel bot commented Mar 16, 2023

@hyesungoh is attempting to deploy a commit to the NextUI Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Mar 16, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
nextui-storybook ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 16, 2023 at 7:28AM (UTC)

@hyesungoh hyesungoh changed the title fix(react-link): handle next 13 fix(react-link): update example by handle next 13 Mar 16, 2023
@jrgarciadev
Copy link
Member

Closing this due to v1 will not receive more updates.

@jrgarciadev jrgarciadev closed this Aug 2, 2023
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.

None yet

2 participants