The Redirect type is used to represent a redirect action in TanStack Router.
export type Redirect = {
code?: number
throw?: any
} & NavigateOptions
export type Redirect = {
code?: number
throw?: any
} & NavigateOptions
The Redirect object accepts/contains the following properties:
Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.