title: Does it make sense to put the array element index as key on Vue v-for element?
body: <p>I am using Vue <a href="https://v2.vuejs.org/v2/guide/list.html" rel="nofollow noreferrer"><code>v-for</code></a> for iterating over an array, like:</p>
  <pre><code>&lt;div v-for=&quot;item in items&quot;&gt;
      {{ item }}
  &lt;/div&gt;
  </code></pre>
  <p>Vue tells me to have a key and recommends me to take a look at the Docs: <a href="https://v2.vuejs.org/v2/guide/list.html#key" rel="nofollow noreferrer"><code>key</code></a>.</p>
  <p>Does that make sense to put the index in the <code>:key</code>?</p>
  <p>Example:</p>
  <pre><code>&lt;div v-for=&quot;(item, index) in items&quot; :key=&quot;index&quot;&gt;
      {{ item }}
  &lt;/div&gt;
  </code></pre>