Skip to content

Commit

Permalink
perf: custom DOM recycle
Browse files Browse the repository at this point in the history
  • Loading branch information
ferferga committed Jan 19, 2021
1 parent cdb5b74 commit 56e3a7d
Show file tree
Hide file tree
Showing 7 changed files with 485 additions and 82 deletions.
File renamed without changes.
18 changes: 18 additions & 0 deletions components/Item/Card/VirtualCard.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<template>
<span>
<card v-if="item" :key="item.Id" :item="item" />
</span>
</template>

<script lang="ts">
import { BaseItemDto } from '@jellyfin/client-axios';
import Vue from 'vue';
export default Vue.extend({
data() {
return {
item: undefined as undefined | BaseItemDto
};
}
});
</script>
Loading

0 comments on commit 56e3a7d

Please sign in to comment.