mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge pull request #3673 from ultrafez/patch-1
"Advanced performance" typo fix
This commit is contained in:
@@ -49,7 +49,7 @@ So, how should we implement `shouldComponentUpdate`? Say that you have a compone
|
||||
|
||||
```javascript
|
||||
React.createClass({
|
||||
propsTypes: {
|
||||
propTypes: {
|
||||
value: React.PropTypes.string.isRequired
|
||||
},
|
||||
|
||||
@@ -73,7 +73,7 @@ But what if your components' props or state are mutable data structures?. Say th
|
||||
|
||||
```javascript
|
||||
React.createClass({
|
||||
propsTypes: {
|
||||
propTypes: {
|
||||
value: React.PropTypes.object.isRequired
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user