Skip to content

Commit

Permalink
Link Route and useRoute patterns.
Browse files Browse the repository at this point in the history
  • Loading branch information
molefrog committed Feb 1, 2024
1 parent 389ac1f commit 8230c5d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Expand Up @@ -352,9 +352,7 @@ const App = () => (

### `<Route path={pattern} />`

`Route` represents a piece of the app that is rendered conditionally based on a pattern. Pattern is
a string, which may contain special characters to describe dynamic segments, see
[**Matching Dynamic Segments** section](#matching-dynamic-segments) below for details.
`Route` represents a piece of the app that is rendered conditionally based on a pattern `path`. Pattern has the same syntax as the argument you pass to [`useRoute`](#useroute-route-matching-and-parameters).

The library provides multiple ways to declare a route's body:

Expand Down

0 comments on commit 8230c5d

Please sign in to comment.