params.parse method executing multiple times after redirect
Hello everyone, I'd to share the strange behavior I'm getting when I navigate to a route with a path parameter with a invalid parameter, to check whether that is expected or not.
The strange behavior is that when I navigate to
/classes/0/users
route, params.parse is executed, then beforeLoad is executed and it throws a redirect to /classes/
, and that successfully redirects me to that route, but when I check the logs I see that params.parse were executed more 4 times after the redirect.
Does anyone know if that is expected? Is there a chance that I'm doing something wrong that could cause that behavior?
I attached 2 screenshots, one with my route code, and another with the logs.

2 Replies
extended-salmon•13h ago
params.parse might execute a few times, yes
is this causing a problem?
environmental-roseOP•13h ago
No, it isn't
I just wanted to check if that was a normal behavior
thanks for the quick response