📄️ Link Component
Import the Link component and use it as a drop-in replacement for links.
📄️ Path Function
If you can't or don't want to use the Link component, you can use the $path function to ensure safe URLs.
📄️ Optional Fields
Both the $path function and Link component support the optional fields search, hash, and trailingSlash.
📄️ Custom Link Component
Import Route and RouteOptions types to add type safety to your custom link components: