Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 396 Bytes

link-externally-with-react-routers-link.md

File metadata and controls

14 lines (8 loc) · 396 Bytes

Link Externally With React Router's Link

React Router's Link component isn't just for internal links; it can work like an anchor tag, too, sending users outside the application. Use reloadDocument prop to get this behavior.

<Link reloadDocument to={'https://reactrouter.com/en/main/components/link'}>Link docs</Link>

docs