@samitouri / QOS-React-2 / commits / 4a9ed4a204

Fix broken link on componentWillReceiveProps tip

Paul O’Shannessy committed Nov 12, 2013 at 13:06 UTC 4a9ed4a204524afd6c6bad0d1ff50b2d6464f065
1 file changed +1 -1
docs/tips/09-componentWillReceiveProps-not-triggered-after-mounting.md
+1 -1
@@ -7,6 +7,6 @@ prev: controlled-input-null-value.html
7 next: props-in-getInitialState-as-anti-pattern.html
8 ---
9
10 -`componentWillReceiveProps` isn't triggered after the node is put on scene. This is by design. Check out [other lifecycle methods](/react/docs/tips/component-specs.html) for the one that suits your needs.
10 +`componentWillReceiveProps` isn't triggered after the node is put on scene. This is by design. Check out [other lifecycle methods](/react/docs/component-specs.html) for the one that suits your needs.
11
12 The reason for that is because `componentWillReceiveProps` often handles the logic of comparing with the old props and acting upon changes; not triggering it at mounting (where there are no old props) helps in defining what the method does.