title: Filtering an Object with VueJS slows my application down
body: <p>I'm trying to set up a filter for a search bar.</p>
  <p>However, when I'm using it like that and I enter something in the searchbar, it completely hangs for a second until it's loading the entries. Has this something to do with render issues or is it just the wrong solution for my wantings? The object is quite big, it has about 2500 entries.</p>
  <p>I have a big Object with keys like this:</p>
  <pre class="lang-json prettyprint-override"><code>{
    key1: {
      title: 'title',
      description: 'description',
      footerContent: 'footerContent'
    },
    key2: {
      title: 'title',
      description: 'description',
      footerContent: 'footerContent'
    },
    key3: {
      title: 'title',
      description: 'description',
      footerContent: 'footerContent'
    }
  }
  </code></pre>
  <p>And I'm trying to filter it with this function in computed:</p>
  <pre class="lang-js prettyprint-override"><code>filteredItems() {
    if(this.searchQuery) {
      return Object.fromEntries(
        Object.entries(this.items).filter(([key]) =&gt; {
          return this.searchQuery
          .toLocaleLowerCase()
          .split(&quot; &quot;)
          .every(
            (word) =&gt;
            key.toLocaleLowerCase().includes(word)
          )
        })
      )
    }
    return this.items
  }
  </code></pre>
  <p>Then doing a v-for in my template:</p>
  <pre><code>&lt;tbody&gt;
    &lt;tr v-for=&quot;item, key in filteredItems&quot; :key=&quot;key&quot;&gt;
      &lt;td class=&quot;align-middle&quot;&gt;{{key}}&lt;/td&gt;
      &lt;td&gt;&lt;input type=&quot;text&quot; class=&quot;form-control&quot; v-model=&quot;item.title&quot;/&gt;&lt;/td&gt;
      &lt;td&gt;&lt;input type=&quot;text&quot; class=&quot;form-control&quot; v-model=&quot;item.description&quot;/&gt;&lt;/td&gt;
      &lt;td&gt;&lt;input type=&quot;text&quot; class=&quot;form-control&quot; v-model=&quot;item.footerContent&quot;/&gt;&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
  </code></pre>