Skip to content

Commit 9ae56ed

Browse files
committed
Merge pull request #2410 from andyfangdz/patch-1
Update ComponentLifecycle docs
2 parents 29ea0eb + 78e7578 commit 9ae56ed

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/guides/advanced/ComponentLifecycle.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ Consider this route config:
4949

5050
| Component | Lifecycle Hooks called |
5151
|-----------|------------------------|
52-
| App | componentWillReceiveProps, componentDidUpdate |
52+
| App | `componentWillReceiveProps`, `componentDidUpdate` |
5353
| Home | N/A |
54-
| Invoice | componentWillReceiveProps, componentDidUpdate |
54+
| Invoice | `componentWillReceiveProps`, `componentDidUpdate` |
5555
| Account | N/A |
5656

5757
All the components that were mounted before, are still mounted, they
@@ -61,10 +61,10 @@ Consider this route config:
6161

6262
| Component | Lifecycle Hooks called |
6363
|-----------|------------------------|
64-
| App | componentWillReceiveProps, componentDidUpdate |
64+
| App | `componentWillReceiveProps`, `componentDidUpdate` |
6565
| Home | N/A |
66-
| Invoice | componentWillUnmount |
67-
| Account | componentDidMount |
66+
| Invoice | `componentWillUnmount` |
67+
| Account | `componentDidMount` |
6868

6969
### Fetching Data
7070

0 commit comments

Comments
 (0)