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

FR: Add option to specify multiple paths for one route #95

Open
marekdedic opened this issue Oct 16, 2022 · 1 comment
Open

FR: Add option to specify multiple paths for one route #95

marekdedic opened this issue Oct 16, 2022 · 1 comment

Comments

@marekdedic
Copy link

Is your feature request related to a problem? Please describe.

Hi, I have an app where several routes render the same component(s) - for example the route / should render the same content as the route /products. Currently, I need to have two duplicate <Route> components to do that

Describe the solution you'd like

Having the option to pass multiple paths to one route - e.g. <Route path="/,/products">

@marekdedic
Copy link
Author

This could also help with rendering a menu/navigation/... that is shared for some, but not all routes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant