@@ -13,7 +13,7 @@ Consider this route config:
13
13
``` js
14
14
< Route path= " /" component= {App}>
15
15
< IndexRoute component= {Home}/ >
16
- < Route path= " invoice /:invoiceId" component= {Invoice}/ >
16
+ < Route path= " invoices /:invoiceId" component= {Invoice}/ >
17
17
< Route path= " accounts/:accountId" component= {Account}/ >
18
18
< / Route>
19
19
```
@@ -29,7 +29,7 @@ Consider this route config:
29
29
| Invoice | N/A |
30
30
| Account | N/A |
31
31
32
- 2 . Now they navigate from ` / ` to ` /invoice /123 `
32
+ 2 . Now they navigate from ` / ` to ` /invoices /123 `
33
33
34
34
| Component | Lifecycle Hooks called |
35
35
| -----------| ------------------------|
@@ -45,7 +45,7 @@ Consider this route config:
45
45
- ` Invoice ` is mounted for the first time.
46
46
47
47
48
- 3 . Now they navigate from ` /invoice /123 ` to ` /invoice /789 `
48
+ 3 . Now they navigate from ` /invoices /123 ` to ` /invoices /789 `
49
49
50
50
| Component | Lifecycle Hooks called |
51
51
| -----------| ------------------------|
@@ -57,7 +57,7 @@ Consider this route config:
57
57
All the components that were mounted before, are still mounted, they
58
58
just receive new props from the router.
59
59
60
- 4 . Now they navigate from ` /invoice /789 ` to ` /accounts/123 `
60
+ 4 . Now they navigate from ` /invoices /789 ` to ` /accounts/123 `
61
61
62
62
| Component | Lifecycle Hooks called |
63
63
| -----------| ------------------------|
0 commit comments