Skip to content

Commit 3ef848e

Browse files
committed
s/url/URL/
1 parent fa36469 commit 3ef848e

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

docs/API.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ making it an absolute path.
148148
If left undefined, the router will try to match the child routes.
149149

150150
##### `component`
151-
A single component to be rendered when the route matches the url. It can
151+
A single component to be rendered when the route matches the URL. It can
152152
be rendered by the parent route component with `this.props.children`.
153153

154154
```js
@@ -173,7 +173,7 @@ class App extends React.Component {
173173

174174
##### `components`
175175
Routes can define multiple components as an object of `name:component`
176-
pairs to be rendered when the path matches the url. They can be rendered
176+
pairs to be rendered when the path matches the URL. They can be rendered
177177
by the parent route component with `this.props.children[name]`.
178178

179179
```js
@@ -349,7 +349,7 @@ Note that the `<Redirect>` can be placed anywhere in the route hierarchy, though
349349

350350
## IndexRoute
351351
Index Routes allow you to provide a default "child" to a parent
352-
route when visitor is at the url of the parent, they provide convention
352+
route when visitor is at the URL of the parent, they provide convention
353353
for `<IndexLink>` to work.
354354

355355
Please see the [Index Routes guide](/docs/guides/basics/IndexRoutes.md).
@@ -494,15 +494,15 @@ Transitions to a new URL.
494494

495495
###### arguments
496496
- `state` - the location state.
497-
- `pathname` - the full url with or without the query.
497+
- `pathname` - the full URL with or without the query.
498498
- `query` - an object that will be stringified by the router.
499499

500500
##### `replaceState(state, pathname, query)`
501501
Replaces the current URL with a new one, without affecting the length of the history (like a redirect).
502502

503503
###### arguments
504504
- `state` - the location state.
505-
- `pathname` - the full url with or without the query.
505+
- `pathname` - the full URL with or without the query.
506506
- `query` - an object that will be stringified by the router.
507507

508508
##### `go(n)`
@@ -524,7 +524,7 @@ Creates a URL, using the router's config. For example, it will add `#/` in front
524524
Returns `true` or `false` depending on if the current path is active. Will be true for every route in the route branch matched by the `pathname` (child route is active, therefore parent is too).
525525

526526
###### arguments
527-
- `pathname` - the full url with or without the query.
527+
- `pathname` - the full URL with or without the query.
528528
- `query` - an object that will be stringified by the router.
529529

530530
#### Examples

docs/guides/advanced/ComponentLifecycle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ your app. The most common thing is fetching data.
66

77
There is no difference in the lifecycle of a component in the router as
88
just React itself. Let's peel away the idea of routes, and just think
9-
about the components being rendered at different urls.
9+
about the components being rendered at different URLs.
1010

1111
Consider this route config:
1212

docs/guides/basics/IndexRoutes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ route for `Home` that can participate in routing.
4040
## Index Links
4141

4242
If you were to `<Link to="/">Home</Link>` in this app, it would always
43-
be active since every url starts with `/`. This is a problem because
43+
be active since every URL starts with `/`. This is a problem because
4444
we'd like to link to `Home` but only be active if `Home` is rendered.
4545

4646
To have a link to `/` that is only active when the `Home` route is

0 commit comments

Comments
 (0)