Skip to content

Commit

Permalink
Update links to history docs (#7228)
Browse files Browse the repository at this point in the history
  • Loading branch information
papermana committed Apr 2, 2020
1 parent 926d7a4 commit 402ecab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-router/docs/api/history.md
Expand Up @@ -22,7 +22,7 @@ The following terms are also used:
- `go(n)` - (function) Moves the pointer in the history stack by `n` entries
- `goBack()` - (function) Equivalent to `go(-1)`
- `goForward()` - (function) Equivalent to `go(1)`
- `block(prompt)` - (function) Prevents navigation (see [the history docs](https://github.com/ReactTraining/history#blocking-transitions))
- `block(prompt)` - (function) Prevents navigation (see [the history docs](https://github.com/ReactTraining/history/blob/master/docs/Blocking.md))

## history is mutable

Expand All @@ -44,4 +44,4 @@ class Comp extends React.Component {
<Route component={Comp} />;
```

Additional properties may also be present depending on the implementation you're using. Please refer to [the history documentation](https://github.com/ReactTraining/history#properties) for more details.
Additional properties may also be present depending on the implementation you're using. Please refer to [the history documentation](https://github.com/ReactTraining/history/tree/master/docs) for more details.

0 comments on commit 402ecab

Please sign in to comment.