You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
res may be undefined. Adding a nullable check may help. If this change is acceptable I am willing to provide a PR.
const res = slot.fn(...args)
+ if (!res) return res
// attach branch key so each conditional branch is considered a
// different fragment
;(res as any).key = slot.key
return res
The text was updated successfully, but these errors were encountered:
Vue version
3.2.38, 3.2.39 (above commit 00036bb)
Link to minimal reproduction
https://sfc.vuejs.org/#eNqFUstOwzAQ/BXLHHppbImeqAIq4jd8CckGDPFD6004RPl31klapUXAzTszOxOPM8rnGNXQgzzKMtVoI4kE1Mcn462LAUmMAqEVk2gxOLFj6e5CvQQXV1zpPGQnpku9WLEJDwQudhUBT0KUWTafDF0YcVcHT+BJDIVtH40k7MHIWcYr+srhlz3oEvy/XM6fyccNLvdyuU/hqqg+UvBcxjhHrUQy8ihmJGN8xzwb+U4U01Hr3sfPN1UHp0/Maew9WQdFE9zpoO7V4UE3NtEWV5Bc8YrhKwFyopH7jblmcAAsEHwDCPhn2I32KvCG+xGaMyfjJy7g/Hj5N9gUxl03djhXmbpAwlcOuOS1eO6ZH5vxtd1FvS13+gZ/SNE7
Steps to reproduce
Build the project with SSR.
What is expected?
The build should pass.
What is actually happening?
System Info
Any additional comments?
00036bb#diff-38ca58cc499824842d1f7106fb614647e756cbdc1982bc04cd3c10fb379893c1R33-R36
res
may beundefined
. Adding a nullable check may help. If this change is acceptable I am willing to provide a PR.const res = slot.fn(...args) + if (!res) return res // attach branch key so each conditional branch is considered a // different fragment ;(res as any).key = slot.key return res
The text was updated successfully, but these errors were encountered: