Thanks to visit codestin.com
Credit goes to github.com

Skip to content

New Routing Guide #62021

Open
Open
@AnkitaSood

Description

@AnkitaSood

Describe the problem that you experienced

While searching for route guards, the search results don't show the appropriate section in the new Angular routing guide where route guards are explained.

Image

The new routing guide doesn't mention route guards as classes at all and it isn't clear while reading that section whether it is easy to migrate to route guards functions from classes.

Enter the URL of the topic with the problem

https://angular.dev/guide/routing/common-router-tasks#preventing-unauthorized-access

Describe what you were looking for in the documentation

Understanding and implementation details about route guards.

Describe the actions that led you to experience the problem

Searching for "route guards" using search docs feature.

Describe what you want to experience that would fix the problem

  • The first search result should link to the route guard section in the newly released routing guide.
  • Some mention about route guard classes and how they are no longer the recommended way of creating guards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: docsRelated to the documentation

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions