New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
renderSuspended
does not provide the values returned from setup
to the template
#722
Labels
Comments
dosubot
bot
added
the
stale
Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed
label
Apr 24, 2024
dosubot
bot
removed
the
stale
Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed
label
May 1, 2024
This is because of defineComponent wrapper |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: