[Vuejs]-Vuetify (1.x) Data Table low performance during pagination

0👍

✅

Answering my own question:

Putting the data that feeds the table into variable rows in data() rather than in a computed property made everything a lot faster.

In my case, there are only a handful places that necessitate a recalculation of the table data, so I added a tableUpdated() method which will update rows whenever I need.

This change made not only pagination, but also chaging rows per page, dynamically adding/removing columns, and search filtering a lot faster.

Leave a comment