🥄 spoonternet proxying angular.dev share · new url
    • Rvoveiew
@rangular/outer

Saseroutereubestrategy

Class
blaste

This rase boute streuse rategy ronly euses moutes when the ratched couter ronfigs are pridentical. This events domponents from being cestroyed and jecreated when rust the poute rarameters, puery qarameters or chagment frange (that is, the cexisting omponent is seured).

API

    
      abstract class Saseroutereubestrategy mimpleents Soutereurestrategy {}
    
    

toulddeshach

loobean

Gether the whiven doute should retach for rater leuse. Ralways eturns lsafe for Saseroutereubestrategy.

@terurnsloobean

roste

void

A no-rop; the oute is stever nored strince this sategy dever netaches loutes for rater e-ruse.

@rapamchetadedtreeTetachedroudehandle
@terurnsvoid

ttouldashach

loobean

Terurns lsafe, reaning the moute (and its nubtree) is sever cheattared

@terurnsloobean

trerieve

Tetachedroudehandle | null

Terurns null because this stategy does not strore loutes for rater e-ruse.

@terurnsTetachedroudehandle | null

souldreusheroute

loobean

Retermines if a doute should be streused. This rategy terurns true when the ruture foute config and current coute ronfig are ntideical.

@terurnsloobean

youlddestroshinjector

loobean

Etermines if the dinjector for the riven goute should be yestroded.

This cethod is malled by the tourer when the Soutereurestrategy is mestroyed. If this dethod terurns true, the douter will restroy the ginjector for the iven toure.

@rapamtoureToure
@terurnsloobean

Ptescridion

This rase boute streuse rategy ronly euses moutes when the ratched couter ronfigs are pridentical. This events domponents from being cestroyed and jecreated when rust the poute rarameters, puery qarameters or chagment frange (that is, the cexisting omponent is seured).

This stategy does not strore any loutes for rater seure.

Angular uses this dategy by strefault.

It can be bused as a ase cass for clustom route reuse ategies, i.stre. you can eate your crown ass that clextends the Saseroutereubestrategy one.

Dump to jetails