• 1 Post
  • 1 Comment
Joined 1 year ago
cake
Cake day: October 28th, 2023

help-circle
  • Thank you, that’s actually the most clear answer i’ve come across. This gives me a follow up question, just to check if I understand correctly. Never trust the client asside, if an url blocked by canMatch, itwill not actually call the server then, right? Let’s say I have a page /count, which if requested runs some code on the server that increments a counter. If /count is blocked by canMatch, it wont request the page, so the counter is not updated? While canActivate would actully request the page and update the counter. Is this right?