@webkrafters/react-observable-context 4.7.1 → 4.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -68,6 +68,7 @@ May also see <b><a href="#changes">What's Changed?</a></b>.
|
|
|
68
68
|
<a href="#store">Store</a><br />
|
|
69
69
|
<a href="#store-resetstate">Reset State</a><br />
|
|
70
70
|
<a href="#store-setstate">Set State</a><br />
|
|
71
|
+
<a href="#batched-update">Batched Update</a><br />
|
|
71
72
|
<a href="#indexing">Array Indexing</a><br />
|
|
72
73
|
<a href="#setstate-tags">Using Tag Commands</a><br />
|
|
73
74
|
<a href="#clear-tag-usage"><b>@@CLEAR</b> Usage Example</a><br />
|
|
@@ -458,7 +459,7 @@ provides a way to update the state as a transaction of several state changes. Th
|
|
|
458
459
|
|
|
459
460
|
<h3 id="indexing"><i><u>Indexing</u></i></h3>
|
|
460
461
|
Traditionally, array state properties are updated by a new array replacement. This overwrites the existing state property.<br />
|
|
461
|
-
Hence the need for
|
|
462
|
+
Hence the need for <code>indexing</code>. Indexing provides a mechanism for updating array state properties at specific indexes using an indexed state change object.<br />
|
|
462
463
|
The store also recognizes and resolves negative indexes when present in the indexed state change object. See additional <a href="#neg-idx-tip">tip</a> below.<br />
|
|
463
464
|
<strong>Example:</strong>
|
|
464
465
|
|
package/package.json
CHANGED