@samitouri / QOS-React-2 / commits / 5aaf4dbae9

Fix a minor typo in the `update()` docs

Greg Hurrell committed Mar 19, 2014 at 15:33 UTC 5aaf4dbae95f8b41a1f16c260e03124c25a6fe9f
1 file changed +1 -1
docs/docs/09.6-update.md
+1 -1
@@ -40,7 +40,7 @@ var newData = extend(myData, {
40
41 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
43 -`update() provides simple syntactic sugar around this pattern to make writing this code easier. This code becomes:
43 +`update()` provides simple syntactic sugar around this pattern to make writing this code easier. This code becomes:
44
45 ```javascript
46 var newData = React.addons.update(myData, {