-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Missing named slots throw error #773
Comments
Oh I linked the wrong issue in that commit (it was meant to fix this one) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
3.0.0-alpha.6
Reproduction link
https://codesandbox.io/s/vue-3-named-slot-error-wovpr
Steps to reproduce
Open sandbox, check console.
What is expected?
Named slots skip render if content is missing.
What is actually happening?
Component doesn't render at all, and throws error.
Offending code:
https://github.com/vuejs/vue-next/blob/19a799c28b149b14e85d9e2081fa65ed58d108ba/packages/runtime-core/src/helpers/renderSlot.ts#L23
Stacktrace:
The text was updated successfully, but these errors were encountered: