next.js/test/e2e/legacy-link-behavior/app/validations/rsc-that-renders-client/synchronous/page.tsx
page.tsx17 lines306 B
import { ReactNode } from 'react'
import { ClientLink } from '../client-link'

export default function Page() {
  return (
    <>
      <ClientLink href="/about">
        <RSC>About</RSC>
      </ClientLink>
    </>
  )
}

function RSC({ children }: { children: ReactNode }) {
  return <a>{children}</a>
}
Quest for Codev2.0.0
/
SIGN IN