-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Fix splat route index matching #6130
Conversation
🦋 Changeset detectedLatest commit: 3070fdf The changes in this PR will be included in the next version bump. This PR includes changesets to release 18 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
export default function Component() { | ||
return <h1>Index</h1>; | ||
} | ||
`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needed an index route in this existing test. Putting path:""
on the root previously meant that /
would match the root route without it having an index.jsx
or $.jsx
file, which seems like a related bug that's also fixed here
🤖 Hello there, We just published version Thanks! |
This reverts commit e48bdff.
This reverts commit e48bdff.
Root splat routes should match
/
if an index route is not present. I.e.:Closes #5841