- 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.
- Java Web開發學習手冊
- Apache ZooKeeper Essentials
- Android和PHP開發最佳實踐(第2版)
- The Android Game Developer's Handbook
- Learning Docker
- AWS Serverless架構:使用AWS從傳統部署方式向Serverless架構遷移
- Visual C++實例精通
- Magento 2 Development Cookbook
- Building a Quadcopter with Arduino
- Apache Mesos Essentials
- 深入淺出Serverless:技術原理與應用實踐
- Spring+Spring MVC+MyBatis整合開發實戰
- 組態軟件技術與應用
- Java語言程序設計教程
- C++程序設計