Files
Jiachi LiuandGitHub 292f65f6d3 Fix unexpected hoist meta tags by react in app dir (#46917)
### Bug Fix

Update vendor react to fix the unexpected hoist tags issue

x-ref: https://github.com/facebook/react/pull/26256

* Fixes #42648
* Closes NEXT-655
* tests added
2023-03-08 11:34:51 +00:00

31 lines
617 B
TypeScript

import React from 'react'
import Link from 'next/link'
export default function Page() {
return (
<>
<header>
<meta itemProp="accessibilityControl" content="fullMouseControl" />
</header>
<p id="index">index page</p>
<Link href="/basic" id="to-basic">
to /basic
</Link>
<br />
<Link href="/title" id="to-title">
to /title
</Link>
<br />
<Link href="/title-template/extra/inner" id="to-nested">
to /title-template/extra/inner
</Link>
<br />
</>
)
}
export const metadata = {
title: 'index page',
}