This repository was archived by the owner on Mar 17, 2025. It is now read-only.
About unmatched route #722
Unanswered
AndresdoSantos
asked this question in
Q&A
Replies: 2 comments 2 replies
-
|
I don't know if it may be the issue, but do you have a |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Try this inside the [...unmatched].js, write a basic Not found Page, don't return unmatched component, return custom View>...</View plus with a link to redirect to / or index |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey guys
I just really wanted to understand why the main page of the app is "unmatched".
I had a structure that was
app/index.tsxbut it always took me to the unmatched route.I changed the content of the index to
[...unmatched].tsxand "it worked" because the first page rendered is unmatched.But, wasn't it supposed to be
index.tsx?Beta Was this translation helpful? Give feedback.
All reactions