]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: comment usage of short property name
authorEvan You <yyx990803@gmail.com>
Wed, 12 Jan 2022 14:08:05 +0000 (22:08 +0800)
committerEvan You <yyx990803@gmail.com>
Wed, 12 Jan 2022 14:08:05 +0000 (22:08 +0800)
packages/server-renderer/src/render.ts

index 2b78dda03d92a04f3c1bea67db33463a4a7085cf..3b629be435c0aff3ee94ba2d0a3aa077ce74dc20 100644 (file)
@@ -86,7 +86,7 @@ export function renderComponentVNode(
   const instance = createComponentInstance(vnode, parentComponent, null)
   const res = setupComponent(instance, true /* isSSR */)
   const hasAsyncSetup = isPromise(res)
-  const prefetches = instance.sp
+  const prefetches = instance.sp /* LifecycleHooks.SERVER_PREFETCH */
   if (hasAsyncSetup || prefetches) {
     let p: Promise<unknown> = hasAsyncSetup
       ? (res as Promise<void>)