perf(client): use shallowRef instead of ref for template reference
This commit is contained in:
@@ -41,7 +41,7 @@ const keymap = {
|
||||
't': focus,
|
||||
};
|
||||
|
||||
const tlComponent = $ref<InstanceType<typeof XTimeline>>();
|
||||
const tlComponent = $shallowRef<InstanceType<typeof XTimeline>>();
|
||||
const rootEl = $shallowRef<HTMLElement>();
|
||||
|
||||
let queue = $ref(0);
|
||||
|
Reference in New Issue
Block a user