mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
fix typo in addons.update() $splice command help
This commit is contained in:
@@ -58,7 +58,7 @@ The `$`-prefixed keys are called *commands*. The data structure they are "mutati
|
||||
|
||||
* `{$push: array}` `push()` all the items in `array` on the target.
|
||||
* `{$unshift: array}` `unshift()` all the items in `array` on the target.
|
||||
* `{$splice: array of arrays}` for each item in `array()` call `splice()` on the target with the parameters provided by the item.
|
||||
* `{$splice: array of arrays}` for each item in `arrays` call `splice()` on the target with the parameters provided by the item.
|
||||
* `{$set: any}` replace the target entirely.
|
||||
* `{$merge: object}` merge the keys of `object` with the target.
|
||||
* `{$apply: function}` passes in the current value to the function and updates it with the new returned value.
|
||||
|
||||
Reference in New Issue
Block a user