Skip to content

Commit a91357d

Browse files
committed
Merge pull request #756 from 0x80/docupdate
Added componentDidMount for clarity
2 parents 78da951 + 04a2dcd commit a91357d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/guides/overview.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,7 @@ Important Note About Dynamic Segments
347347
-------------------------------------
348348

349349
If you have dynamic segments in your URL, a transition from `/users/123`
350-
to `/users/456` does not call `getInitialState`, `componentWillMount` or
351-
`componentWillUnmount`. If you are using those lifecycle hooks to fetch
350+
to `/users/456` does not call `getInitialState`, `componentWillMount`, `componentWillUnmount` or `componentDidMount`. If you are using those lifecycle hooks to fetch
352351
data and set state, you will also need to implement
353352
`componentWillReceiveProps` on your handler, just like any other
354353
component whose props are changing. This way you can leverage the

0 commit comments

Comments
 (0)