Skip to content

Display 404 error when using next/link for route that doesn't exist #1385

@leo

Description

@leo

At the moment, clicking on a Link component whose href attribute is a page that doesn't yet exist will show this:

screen shot 2017-03-11 at 16 03 39

When reloading the page, it shows this:

screen shot 2017-03-11 at 16 03 47

In my opinion, it should show the 404 error directly (without the user having to reload).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions