nameof the route
params) of the route
pathof the route
''). It gives you the ability to have nested routes, each node of the tree (except the root node) is a valid route of your application.
admin.users: the transition node will be the unamed root node, we will deactivate
admin.users. The transition node will be
admin, and the admin segment will remain activated.
admin.roleswill be deactivated and
admin.userswill be activated.
The router is unaware of your view and you need to bind your view to your router's state updates.
admin.users. If we were to navigate to
Mainwould be the component associated to the route node
''. It would re-render to output a
Homecomponent instance rather than an
Adminone, discarding the whole admin view.
The transition node (as explained above), is the node to re-render your view from.