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?
to your account
3.2.38, 3.2.39 (above commit 00036bb)
Build the project with SSR.
The build should pass.
TypeError: Cannot set properties of undefined (setting 'key')
OS: Windows 10 10.0.19044
CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Memory: 12.46 GB / 23.84 GB
Node: 16.15.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.15 - ~\AppData\Roaming\npm\yarn.CMD
npm: 8.11.0 - C:\Program Files\nodejs\npm.CMD
Edge: Spartan (44.19041.1266.0), Chromium (105.0.1343.33)
Internet Explorer: 11.0.19041.1566
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
The text was updated successfully, but these errors were encountered:
Duplicate of #6639
Sorry, something went wrong.
@shigma PR welcome.
@edison1105 I opened #6660. Is there any hope that we can get it in a future version?
Just hit this same issue upgrading from 3.2.37
Successfully merging a pull request may close this issue.