Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikeplus64/solid-typefu-router5
Router for solid-js using router5 and lots of typescript magic
https://github.com/mikeplus64/solid-typefu-router5
Last synced: about 1 month ago
JSON representation
Router for solid-js using router5 and lots of typescript magic
- Host: GitHub
- URL: https://github.com/mikeplus64/solid-typefu-router5
- Owner: mikeplus64
- License: mit
- Created: 2020-07-21T05:57:43.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-14T01:56:40.000Z (almost 2 years ago)
- Last Synced: 2024-10-29T00:38:43.175Z (about 2 months ago)
- Language: TypeScript
- Homepage: https://mikeplus64.github.io/solid-typefu-router5/
- Size: 2.65 MB
- Stars: 18
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-solid-js - Solid Typefu Router5
README
# solid-typefu-router5
This package provides a router with integration with
[router5](https://router5.js.org/) and
[solid-js](https://github.com/ryansolid/solid), and features type safe router
and link creation. Requires TypeScript 4.1+.## Features
- Type-safe links
- Type-safe link parameters
- Type-safe routing## Example Usage
- https://github.com/mikeplus64/solid-typefu-router5/blob/master/example/src/index.tsx
## Quick Start
- 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` and `Router` components