Skip to content

Commit e21f7c7

Browse files
committed
Merge pull request #3673 from ultrafez/patch-1
"Advanced performance" typo fix
2 parents 41a6186 + 729ec1b commit e21f7c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/11-advanced-performance.md

Lines changed: 2 additions & 2 deletions
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)