Skip to content

Question: Weird behaviour for Not found #962

@0xHexE

Description

@0xHexE

I have the following routeConfig.

[
  {
    path: '/test',
    Component: () => <p>Test</p>,
  },
  {
    path: '/test2',
    Component: () => <p>Test2</p>,
  },
]

I have an example here https://stackblitz.com/edit/react-ts-vzxs8c

https://react-ts-vzxs8c.stackblitz.io/test

https://react-ts-vzxs8c.stackblitz.io/ Gives me 404, but it is matching / App right then why it is giving a not found page? We should pass not found to the App instead?

If I want to configure it in this way what should I do?

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