You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ryanflorence
changed the title
Splat Route's break with "-" at the start of the URL
Splat Route's inside pathless layout routes break with "-" at the start of the URL
Jan 5, 2022
What version of React Router are you using?
v6
Steps to Reproduce
https://stackblitz.com/edit/splat-route-dash-bug?file=src/App.tsx
Visit
/-anything
that starts with a"-"
.Expected Behavior
Splat route should render at
"/-splat"
Actual Behavior
Blank page, "no routes match" in the console.
Note that if you remove the pathless layout route above the splat it works fine.
The text was updated successfully, but these errors were encountered: