Skip to content

Commit f0c0728

Browse files
committed
Update API docs
1 parent 3a7c35b commit f0c0728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ specify them if you need to.
350350
</Route>
351351
```
352352

353-
Note that the `<Redirect/>` can be placed anywhere in the route hierarchy, though [normal precedence](/docs/guides/basics/RouteMatching.md#precedence) rules apply. If you'd prefer the redirects to be next to their respective routes, the `from` path will match the same as a regular route `path`. Currently, the `to` property of `<Redirect/>` needs to be an absolute path. Pull requests welcome to make them handle relative paths too!
353+
Note that the `<Redirect>` can be placed anywhere in the route hierarchy, though [normal precedence](/docs/guides/basics/RouteMatching.md#precedence) rules apply. If you'd prefer the redirects to be next to their respective routes, the `from` path will match the same as a regular route `path`.
354354

355355
```js
356356
<Route path="course/:courseId">

0 commit comments

Comments
 (0)