From 0b6e1f28d765d34a1563f986fa79016ee107c29c Mon Sep 17 00:00:00 2001 From: David Percy Date: Wed, 24 Jun 2015 01:54:54 -0400 Subject: [PATCH] Fix docs typo: "overridden" -> "overwritten" I think this was meant to say "overwritten", since "the statement overwrites the data" makes more sense than "the statement overrides the data". --- docs/10.7-update.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/10.7-update.md b/docs/10.7-update.md index 4e3cf84d..2e25ede1 100644 --- a/docs/10.7-update.md +++ b/docs/10.7-update.md @@ -20,7 +20,7 @@ myData.x.y.z = 7; myData.a.b.push(9); ``` -you have no way of determining which data has changed since the previous copy is overridden. Instead, you need to create a new copy of `myData` and change only the parts of it that need to be changed. Then you can compare the old copy of `myData` with the new one in `shouldComponentUpdate()` using triple-equals: +you have no way of determining which data has changed since the previous copy has been overwritten. Instead, you need to create a new copy of `myData` and change only the parts of it that need to be changed. Then you can compare the old copy of `myData` with the new one in `shouldComponentUpdate()` using triple-equals: ```js var newData = deepCopy(myData);