React Corsair - v0.0.10
    Preparing search index...

    Class Redirect

    A redirect to a location.

    Use redirect to throw a Redirect instance.

    Index

    Constructors

    Properties

    Constructors

    • Creates a new Redirect instance.

      Parameters

      • to: string | To

        A location or a URL to redirect to.

      Returns Redirect

    Properties

    to: string | Location

    A location or a URL to redirect to.