]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
Revert "chore: remove unused args passed to ssrRender"
authorEvan You <yyx990803@gmail.com>
Wed, 5 Apr 2023 12:39:43 +0000 (20:39 +0800)
committerEvan You <yyx990803@gmail.com>
Wed, 5 Apr 2023 12:39:59 +0000 (20:39 +0800)
This reverts commit 2a9e379655a1ed1cae5615f29498a9f0aa7aa9c6.

packages/server-renderer/src/render.ts

index d3ebf1fcf3070f6e512a99e2e5f27e47dd0fe97d..a1f327b4320931502304ad4903abf25e1df1a74b 100644 (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)
       }