Skip to content

Commit 560f59d

Browse files
committed
Merge pull request #2754 from taion/component-lifecycle-nit
Styling nit on lifecycle docs
2 parents ee4e5bf + 5af1ae2 commit 560f59d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/guides/advanced/ComponentLifecycle.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Consider this route config:
1313
```js
1414
<Route path="/" component={App}>
1515
<IndexRoute component={Home}/>
16-
<Route path="invoice/:invoiceId" component={Invoice}/>
16+
<Route path="invoices/:invoiceId" component={Invoice}/>
1717
<Route path="accounts/:accountId" component={Account}/>
1818
</Route>
1919
```
@@ -29,7 +29,7 @@ Consider this route config:
2929
| Invoice | N/A |
3030
| Account | N/A |
3131

32-
2. Now they navigate from `/` to `/invoice/123`
32+
2. Now they navigate from `/` to `/invoices/123`
3333

3434
| Component | Lifecycle Hooks called |
3535
|-----------|------------------------|
@@ -45,7 +45,7 @@ Consider this route config:
4545
- `Invoice` is mounted for the first time.
4646

4747

48-
3. Now they navigate from `/invoice/123` to `/invoice/789`
48+
3. Now they navigate from `/invoices/123` to `/invoices/789`
4949

5050
| Component | Lifecycle Hooks called |
5151
|-----------|------------------------|
@@ -57,7 +57,7 @@ Consider this route config:
5757
All the components that were mounted before, are still mounted, they
5858
just receive new props from the router.
5959

60-
4. Now they navigate from `/invoice/789` to `/accounts/123`
60+
4. Now they navigate from `/invoices/789` to `/accounts/123`
6161

6262
| Component | Lifecycle Hooks called |
6363
|-----------|------------------------|

0 commit comments

Comments
 (0)