📄️ Astro Link
Replace your standard links with the Link component from astro-typesafe-routes for type-safe navigation. Simply import it and use it with route parameters for a seamless experience.
📄️ React Link
Added in: astro-typesafe-routes@4.1.0
📄️ Custom Link Component
Sometimes, you may need to create your own custom Link component while still maintaining type safety. To achieve this, you can import the Route and RouteOptions types, which allow you to add type-safe routing to your custom implementation.