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
Not sure, but a clear declaration of parameters, is always reasonable
I agree. I was just confused why the context was null on a test I was doing (not real production code, quick prototyping), and I did not find a good reason for this behavior.
Not sure, but a clear declaration of parameters, is always reasonable
I agree. I was just confused why the context was null on a test I was doing (not real production code, quick prototyping), and I did not find a good reason for this behavior.
Vue version
3.5.13
Link to minimal reproduction
https://play.vuejs.org/#eNp9UsFOwzAM/RWTSztpyoTgNAoI0CTgAAiQOBAOVet2HWlSJemoVPXfcdKt7ADc4vee7Wc7PbtqGr5tkS1ZYjNTNQ4sura5EKqqG20c9GCwgAEKo2uISBpN1I2umxEXjC98xJ0VTCihMq2sg9qWcO7z4+gWpdTwpo3Mj6KZUMlibEeNKHBYNzJ1SBFA4iuFF0DfU41hCHDoQHiyOJCzOXOWuhVVyTdWKxqk92rBMlJXEs1j4ypyI9gSAuO5lMx83QfMmRbnezxbY/b5C76xnccEezJo0WxRsIlzqSnRjfTq5QE7ek9krfNWkvof8hmtlq33OMquW5WT7QNdcHsXdl6p8tWuOofK7ofyRr1yCHrB6ER+UX+N/mP3hJ+GPKEG2uLufLS/6fDr/dlDUcHO/K2wC2yORdpKB0WrMt8k5pxTZTsbOxn6REbBOhYsr7Y0C3jy/fiDW6md5bv0Sx7P6DMMbPgGnPHYTg==
Steps to reproduce
Create a functional component like this
What is expected?
The slots to be rendered.
What is actually happening?
The slots is not rendered, since null is passed as second argument to the function
System Info
Any additional comments?
The length of the function seems to be checked. Is this optimization necessary?
core/packages/runtime-core/src/componentRenderUtils.ts
Lines 113 to 130 in 4f6ef92
The text was updated successfully, but these errors were encountered: