SyncedStore: x

This commit is contained in:
Cat /dev/Nulo 2023-05-07 20:38:45 -03:00
parent 50095a3a48
commit ea9a4e86f6
1 changed files with 7 additions and 0 deletions

View File

@ -19,3 +19,10 @@ const item = anormalArray[1]; // is {b:'b'}
anormalArray.splice(2);
item; // is undefined :(
```
Workaround by creating a new object:
```js
const item = { ...anormalArray[1] };
// although if you have object or array children it may still break...
```