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
If this is an expected behaviour, then it should be reflected on the Optional segments docs
Also, it's a bummer because then there's no way to have localisation AND dynamic segments at the root path unless you handle this logic outside of routing 😔. I guess that's why Hydrogen's demo store places dynamic pages under the pages path (which is super unrealistic for most websites).
The text was updated successfully, but these errors were encountered:
…l segment
As outlined in the following issues, this route is not matched as stated in the documentation.
Whether this is a bug with remix instead still seems up for discussion.
I think this should actually work as currently documented, but it doesn't and this seems known for a while, so this change is just reflecting the current implementation.
remix-run#6021remix-run#6317remix-run#6426
What version of Remix are you using?
1.16.0
Are all your remix dependencies & dev-dependencies using the same version?
Steps to Reproduce
Create a Remix app with the following routing structure:
Expected Behavior
/american-flag-speedo
matches($lang).$productId.tsx
.Actual Behavior
/american-flag-speedo
matches($lang)._index
.pages
path (which is super unrealistic for most websites).The text was updated successfully, but these errors were encountered: