New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't delete nested object from store #23
Comments
Is there any workaround on this issue ? |
@btzr-io the workaround would be to set the property's value to // Action
removeItem({ collections }, id) {
let items = { ...collections.items };
items[id] = undefined;
return { collections: { ...collections, items } };
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When used with
unistore
is impossible to delete / remove a nested object or property.See the following example ( This code only works using
unistore
withoutstockroom
)Unistore only example (working demo)
The text was updated successfully, but these errors were encountered: