-
Notifications
You must be signed in to change notification settings - Fork 75
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
Optimistic local mutations with arrays #157
Comments
@darrenjennings yeah, I found out that much, but still had no luck mutating it :-) |
@inzanez do you have a codesandbox to repro? Here it is working as I expect (with vue composition api). Let me know if you think it is v3 specific. |
@darrenjennings I just tried to reproduce it in a codesandbox, but I didn't manage. So I guess it might have something to do with the combination of quasar framework and vue3 or the specific setup that I'm using. I will try to figure it out, but in the meantime I can live well with awaiting 'revalidate' after a change. |
Hi
I'm trying to use
mutate
with Vue3next
version to mutate the cache for a value that stores an array. As nothing worked so far, I had a look atdata.value
usingconsole.log
, and it seems that this is not stored as an array internally. I get some weirdProxy
object with the array indices as properties.Is there a way to actually use
mutate
for array values?The text was updated successfully, but these errors were encountered: