Revert "chore: remove unused args passed to ssrRender"

This reverts commit 2a9e379655.
This commit is contained in:
Evan You 2023-04-05 20:39:43 +08:00
parent 955752951e
commit b117b88448
1 changed files with 11 additions and 1 deletions

View File

@ -182,7 +182,17 @@ function renderComponentSubTree(
// set current rendering instance for asset resolution
const prev = setCurrentRenderingInstance(instance)
try {
ssrRender(instance.proxy, push, instance, attrs)
ssrRender(
instance.proxy,
push,
instance,
attrs,
// compiler-optimized bindings
instance.props,
instance.setupState,
instance.data,
instance.ctx
)
} finally {
setCurrentRenderingInstance(prev)
}