Skip to content

Commit

Permalink
perf(dom): custom DOM recycle
Browse files Browse the repository at this point in the history
  • Loading branch information
ferferga committed Jan 25, 2021
1 parent 61c21fc commit 15fbc17
Show file tree
Hide file tree
Showing 7 changed files with 603 additions and 84 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 15fbc17

Please sign in to comment.