Link
react-router

Link

Link(props): ReactNode

A progressively enhanced <a href> wrapper to enable navigation with client-side routing.

import { Link } from "react-router";

<Link to="/dashboard">Dashboard</Link>;

<Link
  to={{
    pathname: "/some/path",
    search: "?query=string",
    hash: "#hash",
  }}
/>

Parameters

  • props: LinkProps & RefAttributes
Docs and examples CC 4.0