- Angular Router
- Victor Savkin
- 129字
- 2021-07-09 19:20:30
Router state
A router state is a subtree of the configuration tree. For instance, the example below has ConversationsCmp
activated. We say activated instead of instantiated as a component can be instantiated only once but activated multiple times (any time its route's parameters change):

Not all subtrees of the configuration tree are valid router states. If a node has multiple children of the same color, i.e., of the same outlet name, only one of them can be active at a time. For instance, ComposeCmp
and PopupMessageCmp
cannot be displayed together, but ConversationsCmp
and PopupMessageCmp
can. Stands to reason, an outlet is nothing but a location in the DOM where a component is placed. So we cannot place more than one component into the same location at the same time.
- Learning Neo4j
- UI圖標(biāo)創(chuàng)意設(shè)計(jì)
- Getting Started with Citrix XenApp? 7.6
- C語言程序設(shè)計(jì)教程
- Learning RabbitMQ
- Learning SAP Analytics Cloud
- Python進(jìn)階編程:編寫更高效、優(yōu)雅的Python代碼
- 單片機(jī)應(yīng)用技術(shù)
- Python自然語言處理(微課版)
- GameMaker Programming By Example
- 焊接機(jī)器人系統(tǒng)操作、編程與維護(hù)
- 低代碼平臺開發(fā)實(shí)踐:基于React
- App Inventor創(chuàng)意趣味編程進(jìn)階
- Qlik Sense? Cookbook
- Android Studio Cookbook