Skip to content

Commit 4423200

Browse files
committed
Merge pull request #3673 from ultrafez/patch-1
"Advanced performance" typo fix
1 parent f4d7c70 commit 4423200

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/11-advanced-performance.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ So, how should we implement `shouldComponentUpdate`? Say that you have a compone
4949

5050
```javascript
5151
React.createClass({
52-
propsTypes: {
52+
propTypes: {
5353
value: React.PropTypes.string.isRequired
5454
},
5555

@@ -73,7 +73,7 @@ But what if your components' props or state are mutable data structures?. Say th
7373

7474
```javascript
7575
React.createClass({
76-
propsTypes: {
76+
propTypes: {
7777
value: React.PropTypes.object.isRequired
7878
},
7979

0 commit comments

Comments
 (0)