mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge pull request #1320 from gasi/patch-2
Fix minor typo in `update` `$push` directive
This commit is contained in:
@@ -45,7 +45,7 @@ While this is fairly performant (since it only shallow copies `log n` objects an
|
||||
```javascript
|
||||
var newData = React.addons.update(myData, {
|
||||
x: {y: {z: {$set: 7}}},
|
||||
a: {b: {$push: [7]}}
|
||||
a: {b: {$push: [9]}}
|
||||
});
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user