@samitouri / QOS-React-2 / commits / 729ec1bb74

"Advanced performance" typo fix

Example code used the key "propsTypes" - correct to "propTypes"

Alex committed Apr 15, 2015 at 15:32 UTC 729ec1bb74d172681cd2c9370adb9c1c79a0130a
1 file changed +2 -2
docs/docs/11-advanced-performance.md
+2 -2
@@ -49,7 +49,7 @@ So, how should we implement `shouldComponentUpdate`? Say that you have a compone
49
50 ```javascript
51 React.createClass({
52 - propsTypes: {
52 + propTypes: {
53 value: React.PropTypes.string.isRequired
54 },
55
@@ -73,7 +73,7 @@ But what if your components' props or state are mutable data structures?. Say th
73
74 ```javascript
75 React.createClass({
76 - propsTypes: {
76 + propTypes: {
77 value: React.PropTypes.object.isRequired
78 },
79