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

Allow router.goTo to find route based on string #29

Open
jayalfredprufrock opened this issue Mar 31, 2017 · 1 comment
Open

Allow router.goTo to find route based on string #29

jayalfredprufrock opened this issue Mar 31, 2017 · 1 comment

Comments

@jayalfredprufrock
Copy link

jayalfredprufrock commented Mar 31, 2017

Having to pass the actual Route component instance to router.goTo is really inconvenient. What if the router views object took an optional name (defaulting to the views object key name) for each route that could be used in router.goTo instead of passing the Route instance explicitly? This would also be handy when you need to pass a specific route via a query string.

@criloz
Copy link

criloz commented Oct 27, 2017

also for avoid, circular dependencies

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

2 participants