1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

How to activate RouteReuseStrategy only for specific routes

Discussão em 'Angular' iniciado por Thodoris, Outubro 13, 2024 às 07:02.

  1. Thodoris

    Thodoris Guest

    Is there a way to implement RouteReuseStrategy only for specific routes?

    Meaning each route with children, getting its own custom implementation of RouteReuseStrategy, and whose methods only fire when a route in a specific 'tree' is activated.

    I currently use the code from this answer, but I want to expand it with the above logic if possible.

    Continue reading...

Compartilhe esta Página