You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/overview.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -347,8 +347,7 @@ Important Note About Dynamic Segments
347
347
-------------------------------------
348
348
349
349
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
352
351
data and set state, you will also need to implement
353
352
`componentWillReceiveProps` on your handler, just like any other
354
353
component whose props are changing. This way you can leverage the
0 commit comments