Skip to content

Commit e370bf5

Browse files
committed
Add warning regarding unexpected 404 behaviour when using CSR links
1 parent 0d0714c commit e370bf5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/pages/[locale]/examples/built-in-utilities/errors-handling.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ const ErrorsHandlingPage: NextPage<Props> = (props): JSX.Element => {
7676
This page doesn't exist and should display a 404 page.
7777
</Alert>
7878

79+
<Alert color={'danger'}>
80+
Clicking on the link doesn't do anything, I don't know if it's meant to be a feature, but
81+
<ExternalLink href={'https://github.com/vercel/next.js/issues/13516'} suffix={null}>this is probably a bug</ExternalLink>.
82+
</Alert>
83+
7984
<p>
8085
<I18nLink href={'/404-csr'}>This is a client-side navigation (CSR)</I18nLink>
8186
</p>
@@ -87,7 +92,7 @@ const ErrorsHandlingPage: NextPage<Props> = (props): JSX.Element => {
8792
/>
8893
<br />
8994

90-
<h2>400 - Using full page reload</h2>
95+
<h2>404 - Using full page reload</h2>
9196

9297
<Alert color={'info'}>
9398
This page doesn't exist and should display a 404 page.

0 commit comments

Comments
 (0)