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

    Interface LinkProps

    Props of the Link component.

    interface LinkProps {
        isReplace?: boolean;
        prefetch?: "always" | "never" | "hovered" | "visible";
        to: string | To;
    }

    Hierarchy

    Index

    Properties

    isReplace?: boolean

    If true then link replaces the current history entry, otherwise link pushes an entry.

    false
    
    prefetch?: "always" | "never" | "hovered" | "visible"

    Defines when the link prefetches a route that corresponds to a location.

    "never"
    The route isn't prefetched.
    "always"
    The route is prefetched after the link is rendered.
    "hovered"
    The route is prefetched when a user hovers a pointer over a DOM element.
    "visible"
    The route is prefetched when a DOM element enters the viewport.
    "never"
    
    to: string | To

    A location or route to navigate to when link is clicked.