mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
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