rsnext/test/integration/preload-viewport/pages/invalid-prefetch.js
JJ Kasper db04cc57c1
Make sure to handle rejection when prefetching pages (#10579)
* Make sure to handle rejection when prefetching pages

* Update comment

* Make sure to show prefetch error in development still
2020-02-18 15:28:29 -06:00

9 lines
165 B
JavaScript

import Link from 'next/link'
export default () => (
<>
<Link href="/something-invalid-oops">
<a id="invalid-link">I'm broken...</a>
</Link>
</>
)