[Vuejs]-Vue Component Poor IE Performance

0👍

Both map and filter being used is redundant, specially since map is being used as filter and filter is not really doing anything.

What about this:

this.matches = this.options.filter(function(o) {
  return o[that.displayProp].toLowerCase().indexOf(lowSearch) > -1
})

That said, I don’t see why this would cause a performance impact, but it’s really the only issue I see (I’d have written this as a comment if I could).

Leave a comment