Closed
Description
Allow route paths to include optional segments like /foo/:bar?
.
Progress
- RFC - 🗺️ RFC: Optional Route Segments #9550
- Router PR - feat: optional params and static segments #9650
- Router PR (fixes feat: optional params and static segments #9650) - fix: explode optional segments for relative paths in nested routes #9684
- Remix PR - feat: remix optional segments remix#4706
- Changeset - chore: edit the optional segments changeset remix#4815
Related Issues
- V6: Optional parameters #7285
- [Feature]: Optional routing parameters in v6 #8381
- [v6] concerning optional URL params #8566
- Optional URL parameters #9208
Docs
- Update docs
- Update migration guides that mention manual writing out the routes
- one in the docs
- also this discussion Official v5 to v6 Migration Guide #8753
- Go into both and just use optional segments instead of talking about v6 not supporting them anymore
Metadata
Metadata
Assignees
Type
Projects
Status
No status