title: Avoid using non-primitive value as key, use string/number value instead. in VueJS
body: <p>I'm trying to build an application where I'm trying to get values, everything was working fine,</p>
  
  <p>Here is my code: <a href="https://codeshare.io/aY7rX3" rel="nofollow noreferrer">https://codeshare.io/aY7rX3</a></p>
  
  <p>But suddenly some error started coming:</p>
  
  <blockquote>
    <p>Avoid using non-primitive value as key, use string/number value instead</p>
  </blockquote>
  
  <p>Somewhere around:</p>
  
  <pre><code>&lt;div class="col-sm-4 border-right"&gt;
      &lt;div&gt;
          &lt;button @click.prevent="" v-for="(obj, key) in tags"
                  :key="key"
                  class="btn btn-rounded btn-sm"
                  :class="tagParentClass(key)"&gt;
              {{key}}
          &lt;/button&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The data set of <code>tags</code></p>
  
  <pre><code>export const tags = {
      Investor: [
          {display: "Mutual Fund", value: 'Mutual Fund'},
          {display: "Insurance", value: 'Insurance'},
          {display: "FII", value: 'FII'},
          {display: "PMS", value: 'PMS'},
          {display: "Proprietary", value: 'Proprietary'},
          {display: "HNI", value: 'HNI'},
          {display: "Private Equity", value: 'Private Equity'},
          {display: "Others", value: 'Others'}
      ],
      Research: [
          {display: "Global", value: 'Global'},
          {display: "Domestic", value: 'Domestic'},
          {display: "Retail", value: 'Retail'},
          {display: "Others", value: 'Others'}
      ],
      Corporate: [
          {display: "Corporate", value: 'Corporate'}
      ],
      Others: [
          {display: "Debt", value: 'Debt'},
          {display: "Debt Adviser", value: 'Debt Adviser'},
          {display: "Investment Banker", value: 'Investment Banker'},
          {display: "Media", value: 'Media'},
          {display: "Others", value: 'Others'}
      ]
  }
  </code></pre>
  
  <p>Help me out in this.</p>