NG.V · Angular 22 practice question

Which combination of route details can a developer inspect directly on a route snapshot?

Choose one answer
Check answer and explanation

Correct answer: Route parameters, route data, and child routes

Explanation

A route snapshot holds essential state for the route at that moment, including its parameters, data, and child routes.

Common trap

Snapshots provide structured route metadata including parameters, data, and child routes, not just a raw URL string. Snapshots represent router state rather than exposing component template references or private service instances.

Source: Angular docs: Read route state — Understanding route snapshots
Checked against the cited text on 2026-11-25.

Report an error in this question