From b117b8844881a732a021432066230ff2215049ea Mon Sep 17 00:00:00 2001 From: Evan You Date: Wed, 5 Apr 2023 20:39:43 +0800 Subject: [PATCH] Revert "chore: remove unused args passed to ssrRender" This reverts commit 2a9e379655a1ed1cae5615f29498a9f0aa7aa9c6. --- packages/server-renderer/src/render.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/packages/server-renderer/src/render.ts b/packages/server-renderer/src/render.ts index d3ebf1fcf30..a1f327b4320 100644 --- a/packages/server-renderer/src/render.ts +++ b/packages/server-renderer/src/render.ts @@ -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) }