[Vuejs]-VueJs showing/rendering only one object at a time from a response of 100s of objects

0👍

If you’re fetching all the items at once, you could have a currentItemIndex data field that you increment/decrement to navigate between them and a currentItem computed field that fetches the corresponding item from the list that you can then use in your template.

If you have a lot of objects you might want to consider server side paging.

Leave a comment