rangle-io
Rangle.io : Angular 2 Training

Updated a year ago

Aviad Pineles (@aviadpineles) started discussion #223

10 months ago · 0 comments

Open

In the above example, say that the child routes of product-details needed the ID of the product to fetch the spec or overview information. The child route component can access the parent route's parameters as follows:

Defining Child Routes (Edit this file)

Usage of soon to be deprecated ActivatedRoute.params observable

According to https://angular.io/guide/router#activatedroute-the-one-stop-shop-for-route-information usage of ActivatedRoute.params is obsolete and soon to be deprecated.

No comments on this discussion.


to join this conversation on GitBook. Already have an account? Sign in to comment
Notifications

You’re not receiving notifications from this thread.


1 participant