Summary

In this chapter, we learned about the basic concepts of the router in Angular. We looked at how we can use the existing component tree to configure child routes in nested-router scenarios. Using nested-child routes, we enabled the reuse of components with route configurations.

We also looked at the problem of router versus template composition and how to mitigate this problem using wrapper components. In this way, we close the gap between the router and underlying components using an in-between layer.

We looked into route configuration specifics and the basics of the router link DSL. We also covered the basics of the RouteTree and RouteSegment classes and how to use them to perform in-depth route analysis.

In the next chapter, we will learn about SVG and how to use this web standard in order to draw graphics in our Angular applications. We will visualize an activity log of our application activities using SVG and see how Angular makes this technology even greater by enabling composability.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset