This package provides a router with integration with router5 and solid-js, and features type safe router and link creation. Requires TypeScript 4.1+.
- Type-safe links
- Type-safe link parameters
- Type-safe routing
-
Create some routes that are in the shape [[
RouteTreeLike
]]. See the Router5 documentation for what route objects can look like. -
Use [[
createSolidRouter
]] on those routes -
Enjoy your type-safe
Link
andRouter
components