I have some pretty simple login logic
if (window.location.pathname.startsWith('/login')) {
window.location.replace(ROUTES.app);
}
That routes fine, but it seems to break the View Transitions listener. I get a full page reload instead of a transition.
Is there an API to use in Astro for the new router that handles the View Transitions?