Skip to content

Commit

Permalink
Revert "chore: remove unused args passed to ssrRender"
Browse files Browse the repository at this point in the history
This reverts commit 2a9e379.
  • Loading branch information
yyx990803 committed Apr 5, 2023
1 parent 9557529 commit b117b88
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion packages/server-renderer/src/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit b117b88

Please sign in to comment.