EvalAI-ngx
EvalAI-ngx copied to clipboard
Use of Route Guards as opposed to in-component Redirects
I'm submitting a
(Check one with "x" from given options)
- [ ] Bug report
- [x] 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
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
I will like to work on the issue along with the Lazy Loading Modules issue I created @vkartik97 @RishabhJain2018 @Ram81 @yashdusing @Sanji515
sure! @nsjcorps , go ahead