The state of a route that has requested a redirect.

interface RedirectState {
    status: "redirect";
    to: string | Location;
}

Properties

Properties

status

The route status.

to: string | Location

A location to redirect to.