Navigation guard
Also written: navigation guards
A router function that runs before a page change and can allow, stop or redirect it, such as sending logged-out visitors to a login page.
Also written: navigation guards
A router function that runs before a page change and can allow, stop or redirect it, such as sending logged-out visitors to a login page.