From 4423200007ee0f6a7b92b44a7fe40ec92dd2d802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Wed, 15 Apr 2015 16:42:25 -0700 Subject: [PATCH] Merge pull request #3673 from ultrafez/patch-1 "Advanced performance" typo fix --- docs/docs/11-advanced-performance.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/11-advanced-performance.md b/docs/docs/11-advanced-performance.md index b7d56d96c48dc..b4595e8894d92 100644 --- a/docs/docs/11-advanced-performance.md +++ b/docs/docs/11-advanced-performance.md @@ -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 },