Idiomatic ways to handle route-guarding - TanStack