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.
Having to pass the actual
Route
component instance torouter.goTo
is really inconvenient. What if the router views object took an optionalname
(defaulting to the views object key name) for each route that could be used inrouter.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.