Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relaying only on the naming of route.id breaks layout route detection #17

Closed
lean-dev opened this issue Jul 21, 2023 · 0 comments · Fixed by #18
Closed

Relaying only on the naming of route.id breaks layout route detection #17

lean-dev opened this issue Jul 21, 2023 · 0 comments · Fixed by #18

Comments

@lean-dev
Copy link
Contributor

Simple breaking demo:

Add three route files:
other.tsx: A layout route file
other._index.tsx: Index route
other.page.tsx: Normal page route

In the routes tab all three routes are shown, the other path twice.

With custom routing or remix-flat-routes there are more breaks to expect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant