Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

Use of Route Guards as opposed to in-component Redirects #271

Open
1 of 2 tasks
jayaike opened this issue Jan 14, 2020 · 2 comments
Open
1 of 2 tasks

Use of Route Guards as opposed to in-component Redirects #271

jayaike opened this issue Jan 14, 2020 · 2 comments

Comments

@jayaike
Copy link
Contributor

jayaike commented Jan 14, 2020

I'm submitting a

(Check one with "x" from given options)

  • Bug report
  • Feature request

Current behavior

The project allows users to navigate to protected routes and then Redirects to an appropriate route based on authentication status.
This method causes this
bandicam-2020-01-15-07-01-01-050_Trim

As we can see it shows the user the "protected route before redirect"

Expected behavior

The project should make use of Route Guards using CanActivate. This way we will follow the DRY principle of coding

I have started working on this

@jayaike
Copy link
Contributor Author

jayaike commented Jan 14, 2020

I will like to work on the issue along with the Lazy Loading Modules issue I created @vkartik97 @RishabhJain2018 @Ram81 @yashdusing @Sanji515

@Sanji515
Copy link
Member

sure! @nsjcorps , go ahead

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants