react-native-onyx 1.0.105 → 1.0.106
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 +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -67,7 +67,7 @@ For `Array` the default behavior is to replace it fully, effectively making it e
|
|
|
67
67
|
|
|
68
68
|
```javascript
|
|
69
69
|
Onyx.merge(ONYXKEYS.EMPLOYEE_LIST, ['Joe']); // -> ['Joe']
|
|
70
|
-
Onyx.merge(ONYXKEYS.EMPLOYEE_LIST, ['Jack']); // -> ['
|
|
70
|
+
Onyx.merge(ONYXKEYS.EMPLOYEE_LIST, ['Jack']); // -> ['Jack']
|
|
71
71
|
```
|
|
72
72
|
|
|
73
73
|
For `Object` values the default behavior uses `lodash/merge` under the hood to do a deep extend of the object.
|