Always use key with v-for. A key must always be used with v-for on a component in order to maintain the state of the internal component and its subtrees.
<ul> <li v-for="todo in todos" :key="todo.id" > {{ all.text }} </li> </ul>
Always use key with v-for. A key must always be used with v-for on a component in order to maintain the state of the internal component and its subtrees.
<ul> <li v-for="todo in todos" :key="todo.id" > {{ all.text }} </li> </ul>