mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Update router.js
This commit is contained in:
@@ -3,6 +3,17 @@
|
||||
*
|
||||
* The goal of this is to help shape the new Angular router, or
|
||||
* figure out if we need to do our own implementation.
|
||||
|
||||
Some design decisions we need to figure out and agree on:
|
||||
|
||||
* Deep linking. In v1 we did a complicated nested view linking, where
|
||||
a route with a URL like /contacts/name would navigate in each sub
|
||||
view, reconstructing a whole navigation context.
|
||||
|
||||
I'm not convinced this is the right approach for v2. Instead, we might
|
||||
want to make it more explicit, where certain URLs can trigger a handler
|
||||
where navigation can be reconstructed by the developer, but with the
|
||||
default behavior of routes being navigated to in the root nav.
|
||||
*/
|
||||
|
||||
// Decorators
|
||||
|
||||
Reference in New Issue
Block a user