-
Notifications
You must be signed in to change notification settings - Fork 257
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
fix(stub): avoid stub cache for teleport for reactive update #2065
Conversation
✅ Deploy Preview for vue-test-utils-docs ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
// Teleport/KeepAlive should return child nodes as a function | ||
if (isTeleport(originalType) || isKeepAlive(originalType)) { | ||
return [cachedTransformation, props, () => children, ...restVNodeArgs] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interesting that the workaround to get rid of the warnings is no longer needed 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's still needed a few lines below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great @freakzlike - mind rebasing this one? Thanks 🙏
# Conflicts: # src/vnodeTransformers/util.ts
@lmiller1990 updated 👍 |
Again an issue with the
transformationCache
. I'm not quite sure yet why the cache is causing these issues.fix #2033
Also tested if #1781 is fixed aswell, but it wasn't the case