renderSuspended
does not provide the values returned from setup
to the template
#722
Labels
renderSuspended
does not provide the values returned from setup
to the template
#722
Environment
Nuxt project info:
Reproduction
https://stackblitz.com/edit/github-7wbhms?file=test%2Ftest-component.spec.ts
Describe the bug
renderSuspended
does not pass the values fromsetup
function (not the<script setup>
) to thetemplate
. ThemountSuspended
works fine.Additional context
In the Openverse Nuxt 3 migration PR, I replaced
render(renderContext, ...args)
withrender(_ctx, ...args)
on this line:test-utils/src/runtime-utils/render.ts
Line 113 in bc86d23
which seems to fix the issue.
Logs
No response
The text was updated successfully, but these errors were encountered: