You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/API.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,7 @@ A `<Link>` can know when the route it links to is active and automatically apply
105
105
106
106
#### Props
107
107
##### `to`
108
-
A [location descriptor](https://github.com/ReactTraining/history/blob/master/docs/Glossary.md#locationdescriptor). Usually this is a string or an object, with the following semantics:
108
+
A [location descriptor](https://github.com/reactjs/react-router/blob/master/docs/Glossary.md#locationdescriptor). Usually this is a string or an object, with the following semantics:
109
109
110
110
* If it's a string it represents the absolute path to link to, e.g. `/users/123` (relative paths are not supported).
Copy file name to clipboardexpand all lines: docs/Glossary.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ A *hash* is a string that represents the hash portion of the URL. It is synonymo
69
69
type LeaveHook= (prevState:RouterState) => any;
70
70
```
71
71
72
-
A *leave hook* is a user-defined function that is called when a route is about to be unmounted. It receives the previous [router state](#routerstate) as its first argument.
72
+
A *leave hook* is a user-defined function that is called when a route is about to be unmounted. It receives the previous [router state](#routerstate) as its first argument.
73
73
74
74
## Location
75
75
@@ -89,7 +89,7 @@ A *location* answers two important (philosophical) questions:
89
89
- Where am I?
90
90
- How did I get here?
91
91
92
-
New locations are typically created each time the URL changes. You can read more about locations in [the `history` docs](https://github.com/reactjs/history/blob/master/docs/Location.md).
92
+
New locations are typically created each time the URL changes. You can read more about locations in [the `history` docs](https://github.com/mjackson/history/blob/v2.x/docs/Location.md).
93
93
94
94
### LocationDescriptor
95
95
@@ -104,7 +104,7 @@ New locations are typically created each time the URL changes. You can read more
104
104
105
105
A *location descriptor* is the pushable analogue of a location. Locations tell you where you are; you create location descriptors to say where to go.
106
106
107
-
You can read more about location descriptors in [the `history` docs](https://github.com/reactjs/history/blob/master/docs/Location.md).
107
+
You can read more about location descriptors in [the `history` docs](https://github.com/mjackson/history/blob/v2.x/docs/Location.md).
0 commit comments