diff --git a/README.md b/README.md index a1bd0ff0..a3ea3b07 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@
-A fresh react router designed for flexible route transitions
+A fresh high-level react router designed for flexible route transitions
@@ -13,8 +13,7 @@ A fresh react router designed for flexible route transitions
cher-ami router API is inspired by [wouter](https://github.com/molefrog/wouter),
[solidify router](https://github.com/solid-js/solidify/blob/master/navigation/Router.ts)
and
-[vue router](https://router.vuejs.org/) API. This repository started from a copy
-of [willybrauner/react-router](https://github.com/willybrauner/react-router/).
+[vue router](https://router.vuejs.org/) API.
## Why another react router?
@@ -499,7 +498,7 @@ const router = useRouter();
```ts
// previousRoute and currentRoute
-type TRoute = {
+type TRoute = Partial<{
path: string | { [x: string]: string };
component: React.ComponentType