@samitouri / QOS-React-2 / commits / 00e89454ec

Nominalized 'shallow copy'

I mis-parsed 'shallow copies' as adjective noun, instead of as a compound verb. I've adjusted the text to make it easier to parse on the first read, which should also help ESL learners to be able to parse it easier.

Richard Littauer committed Mar 11, 2015 at 16:22 UTC 00e89454ec4eddfcfa3515bf680580917e4898bd
1 file changed +1 -1
docs/docs/10.7-update.md
+1 -1
@@ -39,7 +39,7 @@ var newData = extend(myData, {
39 });
40 ```
41
42 -While this is fairly performant (since it only shallow copies `log n` objects and reuses the rest), it's a big pain to write. Look at all the repetition! This is not only annoying, but also provides a large surface area for bugs.
42 +While this is fairly performant (since it only makes a shallow copy of `log n` objects and reuses the rest), it's a big pain to write. Look at all the repetition! This is not only annoying, but also provides a large surface area for bugs.
43
44 `update()` provides simple syntactic sugar around this pattern to make writing this code easier. This code becomes:
45