What is the purpose of Vue Router's `navigation guards`?
-
A
Preventing SQL injection in route parameters
-
B
Intercepting navigation events to redirect, cancel, or perform async operations before route changes complete
-
C
Guarding against XSS in URL query strings
-
D
Throttling navigation to prevent rapid route changes