Why not always use the index as the key in a vue.js for loop? : <p>I have used vue.js for a couple of projects and I have been using the index as the key in the for loops</p>

<pre><code>&lt;div v-for="(item, index) in items" :key="index"&gt;&lt;/div&gt;
</code></pre>

<p>...and have started to wonder if there are problems with that since examples usually use the ID of the item.</p>

<pre><code>&lt;div v-for="(item, index) in items" :key="item.ID"&gt;&lt;/div&gt;
</code></pre>
