perf(client): remove needless reactivity

This commit is contained in:
syuilo 2022-06-29 16:06:13 +09:00
parent c02f155c70
commit 7bc77f6137

View file

@ -21,7 +21,7 @@ if (router == null) {
throw new Error('no router provided');
}
let currentPageComponent = $ref(router.getCurrentComponent());
let currentPageComponent = $shallowRef(router.getCurrentComponent());
let currentPageProps = $ref(router.getCurrentProps());
let key = $ref(router.getCurrentKey());