nuxt.com
nuxt.com copied to clipboard
Docs (useNuxtData => #Optimistic Updates).Incorrect Use of Reference Assignment in previousTodos.value = todos.value
i think the example code should use `// Current implementation previousTodos.value = todos.value;
// Proposed change previousTodos.value = [...todos.value];`
Thanks for your reminder, the example has been updated https://github.com/nuxt/nuxt/pull/30570