Skip to main content

What is navigation extras?

Mid Angular
Quick Answer NavigationExtras are options passed to router.navigate() or router.navigateByUrl(). Options include: queryParams (add URL query parameters), fragment (scroll to anchor), replaceUrl (replace history entry instead of push), skipLocationChange (navigate without updating URL), relativeTo (navigate relative to a route). Example: router.navigate(["/users"], {queryParams: {page: 2}}).

Answer

Additional navigation configuration like query params, fragments, state, or skipLocationChange.
S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice