Duration
3 min
Access
Free
Transcript
Available

When we use child routes (also called nested routes), we often need to access a parent route's parameter, such as an ID used to make an API call. In this lesson, we'll learn how to subscribe to the parent route's paramMap in order to get that ID and use it in our child route component.