Computer Science, asked by iloveselena3024, 1 year ago

Difference between activatedroutesnapshot and routerstatesnapshot

Answers

Answered by abhinavkashyap55
0

RouterState and ActivatedRoute are similar to their snapshot counterparts except that they expose all the values as observables, which are great for dealing with values changing over time. Any component instantiated by the router can inject its ActivatedRoute.

Similar questions