From 2184240ef146742a61ee12d5536922278b486d29 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 3 Jan 2023 10:12:37 +0900 Subject: [PATCH] perf(client): use shallowRef for html element ref --- packages/frontend/src/components/MkAutocomplete.vue | 10 +++++----- packages/frontend/src/components/MkButton.vue | 4 ++-- packages/frontend/src/components/MkCaptcha.vue | 6 +++--- packages/frontend/src/components/MkChart.vue | 4 ++-- packages/frontend/src/components/MkContextMenu.vue | 2 +- packages/frontend/src/components/MkCropperDialog.vue | 2 +- packages/frontend/src/components/MkDrive.vue | 4 ++-- packages/frontend/src/components/MkEmojiPicker.vue | 6 +++--- packages/frontend/src/components/MkHeatmap.vue | 4 ++-- packages/frontend/src/components/MkImgWithBlurhash.vue | 2 +- packages/frontend/src/components/MkInstanceStats.vue | 4 ++-- packages/frontend/src/components/MkMediaBanner.vue | 2 +- packages/frontend/src/components/MkMenu.child.vue | 4 ++-- packages/frontend/src/components/MkMenu.vue | 4 ++-- packages/frontend/src/components/MkModal.vue | 2 +- packages/frontend/src/components/MkModalWindow.vue | 4 ++-- packages/frontend/src/components/MkNote.vue | 10 +++++----- packages/frontend/src/components/MkNoteDetailed.vue | 10 +++++----- packages/frontend/src/components/MkNotification.vue | 4 ++-- packages/frontend/src/components/MkPagination.vue | 4 ++-- packages/frontend/src/components/MkPostForm.vue | 8 ++++---- .../src/components/MkReactionsViewer.reaction.vue | 4 ++-- packages/frontend/src/components/MkRenoteButton.vue | 4 ++-- .../frontend/src/components/MkRetentionHeatmap.vue | 4 ++-- packages/frontend/src/components/MkSparkle.vue | 4 ++-- packages/frontend/src/components/MkTagCloud.vue | 6 +++--- packages/frontend/src/components/MkTooltip.vue | 4 ++-- packages/frontend/src/components/MkVisibility.vue | 2 +- packages/frontend/src/components/MkWindow.vue | 2 +- packages/frontend/src/components/form/checkbox.vue | 2 +- packages/frontend/src/components/form/folder.vue | 2 +- packages/frontend/src/components/form/input.vue | 8 ++++---- packages/frontend/src/components/form/switch.vue | 2 +- .../frontend/src/components/global/MkPageHeader.vue | 4 ++-- packages/frontend/src/components/global/MkSpacer.vue | 5 ++--- .../src/components/global/MkStickyContainer.vue | 6 +++--- packages/frontend/src/pages/about-misskey.vue | 2 +- packages/frontend/src/pages/admin/_header_.vue | 6 +++--- .../frontend/src/pages/admin/overview.active-users.vue | 2 +- .../frontend/src/pages/admin/overview.ap-requests.vue | 4 ++-- packages/frontend/src/pages/admin/overview.pie.vue | 4 ++-- .../frontend/src/pages/admin/overview.queue.chart.vue | 4 ++-- packages/frontend/src/pages/admin/overview.vue | 2 +- .../frontend/src/pages/admin/queue.chart.chart.vue | 4 ++-- packages/frontend/src/pages/antenna-timeline.vue | 2 +- .../src/pages/messaging/messaging-room.form.vue | 4 ++-- .../frontend/src/pages/messaging/messaging-room.vue | 2 +- packages/frontend/src/pages/settings/index.vue | 4 ++-- packages/frontend/src/pages/timeline.vue | 2 +- packages/frontend/src/pages/user-list-timeline.vue | 2 +- packages/frontend/src/pages/user/activity.heatmap.vue | 4 ++-- packages/frontend/src/pages/user/activity.pv.vue | 2 +- packages/frontend/src/ui/classic.vue | 2 +- packages/frontend/src/ui/deck.vue | 2 +- packages/frontend/src/ui/deck/column.vue | 2 +- packages/frontend/src/ui/universal.vue | 2 +- packages/frontend/src/ui/universal.widgets.vue | 2 +- packages/frontend/src/widgets/aichan.vue | 4 ++-- packages/frontend/src/widgets/slideshow.vue | 6 +++--- 59 files changed, 114 insertions(+), 115 deletions(-) diff --git a/packages/frontend/src/components/MkAutocomplete.vue b/packages/frontend/src/components/MkAutocomplete.vue index a2b020b900..08e2c29de2 100644 --- a/packages/frontend/src/components/MkAutocomplete.vue +++ b/packages/frontend/src/components/MkAutocomplete.vue @@ -16,9 +16,9 @@
    -
  1. +
  2. - +
    @@ -35,7 +35,8 @@