rsnext/test/integration/app-document/pages/index.js
Jiachi Liu 4de5b64c0b
Wait for shell resolve with gIP is customized in react 18 (#36792)
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
2022-05-11 13:25:23 +00:00

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>
)