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

🗺 Optional Route Segments #9546

Closed
5 of 7 tasks
ryanflorence opened this issue Nov 2, 2022 · 5 comments
Closed
5 of 7 tasks

🗺 Optional Route Segments #9546

ryanflorence opened this issue Nov 2, 2022 · 5 comments
Assignees
Labels
proposal:remix Proposals from the Remix team. 🗺 Roadmap

Comments

@ryanflorence
Copy link
Member

ryanflorence commented Nov 2, 2022

Allow route paths to include optional segments like /foo/:bar?.

Progress

Related Issues

Docs

  • Update docs
  • Update migration guides that mention manual writing out the routes
@ryanflorence ryanflorence transferred this issue from remix-run/remix Nov 2, 2022
@ryanflorence ryanflorence changed the title Optional Route Segments 🗺 Optional Route Segments Nov 2, 2022
@ryanflorence ryanflorence moved this from Planned to In Progress in Roadmap Nov 29, 2022
@remix-run remix-run locked as off-topic and limited conversation to collaborators Nov 30, 2022
@pcattori
Copy link
Contributor

pcattori commented Dec 6, 2022

I've been working through some fixes to #9650 to account for nested <Route>s. @brophdawg11 and I have been coordinating and the decision is to add some tests for nested <Route>s and to explode each relative path (with 1+ optional path segment) encountered in flattenRoutes.

PR: #9684

@pcattori
Copy link
Contributor

pcattori commented Dec 9, 2022

Just waiting for Remix to be on RR 6.5 before merging the last PR (#4706) and closing out this roadmap item.

All code PRs have been merged. We just need to wait for Remix to be on RR 6.5 to update the docs.

@ryanflorence
Copy link
Member Author

awesome! we'll leave this issue open until we're on router 6.5 :)

@ryanflorence ryanflorence moved this from In Progress to Merged in Roadmap Dec 9, 2022
@ryanflorence
Copy link
Member Author

All of this is going out in the next Remix/Router releases.

@brophdawg11
Copy link
Contributor

This is available for beta testing in Remix 1.9.0-pre.0 and React Router 6.5.0-pre.1 if anyone wants to give it a test! We're hoping to get the stable releases out later today or tomorrow.

@ryanflorence ryanflorence moved this from Merged to Released 1.9 in Roadmap Dec 20, 2022
@ryanflorence ryanflorence removed this from Roadmap Dec 20, 2022
@ryanflorence ryanflorence moved this to Released in Roadmap Dec 20, 2022
@ryanflorence ryanflorence moved this from Released to Remix 1.9 in Roadmap Feb 16, 2023
@ryanflorence ryanflorence moved this from Remix 1.9 to Remix 1.10 in Roadmap Feb 16, 2023
@ryanflorence ryanflorence moved this from Remix 1.10 to Released in Roadmap Feb 16, 2023
@MichaelDeBoey MichaelDeBoey added the proposal:remix Proposals from the Remix team. label Apr 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
proposal:remix Proposals from the Remix team. 🗺 Roadmap
Projects
Archived in project
Development

No branches or pull requests

4 participants