4de5b64c0b
When getInitialProps is customized with react 18, since gIP requires to return `html` as doc property which could be used by user-land customization, we do blocking-rendering there and passdown the `html` to document Fixes #36675 Closes #36419
11 lines
269 B
JavaScript
11 lines
269 B
JavaScript
import Link from 'next/link'
|
|
export default () => (
|
|
<div>
|
|
<div className="page-index">index</div>
|
|
<span className="css-in-js-class" />
|
|
<Link href="/about">
|
|
<a id="about-link">about</a>
|
|
</Link>
|
|
<span className="css-in-js-class" />
|
|
</div>
|
|
)
|