Skip to content

Conversation

@TomasDurica
Copy link

Copy array content instead of just the reference

Copy array content instead of just the reference
@TomasDurica
Copy link
Author

Another option is to use the same example as nuxt does, and instead of pushing, do todos.value = [...todos.value, payload]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant