feat(router): add routing to async components#2165
Conversation
|
@IgorMinar please review |
|
We're going to prioritize #2001 over this, so hold off until after the router is typescriptified since I'll have to rewrite/rebase this. |
257905c to
ebb5bba
Compare
Note that this also removes the `components` option from `RouteConfig`. This functionality will be reintroduced with the more general `//` routing. See angular#2329 for more details.
ebb5bba to
e552080
Compare
|
Hi, Sorry to dig up this. I'm doing some experiences with routing and lazy loaded components. Right now the only examples I'm seeing require something like: ´´´ @RouteConfig([ Now, what I don't want to load MyComponent until I absolutely need to. Is there any way of doing something like: ´´´ Cheers, |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This lays the groundwork for lazy loading in Angular 2.
I'm still working on the API + Docs.