TanStackT
TanStack15mo ago
2 replies
colossal-harlequin

Get navigation transition state

What is the equivalent for the Next.js code below in Tanstack Start for finding whether you're in he process of navigating

let [isPending, startTransition] = useTransition()

startTransition(() => {
  router.push('https://example.vercel.sh/stuff?abc=123')
})
Was this page helpful?