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
-
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.tsx
but it always took me to the unmatched route.I changed the content of the index to
[...unmatched].tsx
and "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