• Overview
@angular/ssr

IS_DISCOVERING_ROUTES

constant

A DI token that indicates whether the application is in the process of discovering routes.

API

Description

A DI token that indicates whether the application is in the process of discovering routes.

This token is provided with the value true when route discovery is active, allowing other parts of the application to conditionally execute logic. For example, it can be used to disable features or behaviors that are not necessary or might interfere with the route discovery process.

Jump to details