Running `beforeLoad`/loader functions on client only (SPA mode) - TanStack