March 2017
Intermediate to advanced
118 pages
2h 1m
English
Since a router state is a tree, and the URL is nothing but a serialized state, the URL is a serialized tree. In all the examples so far every segment had only one child. For instance in /inbox/33 the 33 segment is a child of inbox, and inbox is a child of the / root segment. We called such children primary. Now look at this example:
/inbox/33(popup:message/44)
Here the root has two children inbox and message:

The router encodes multiple secondary children using a //.
/inbox/33(popup:message/44//help:overview)

If some other segment, not ...
Read now
Unlock full access