Skip to content
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

Mounting another app in the setup may trigger a warning #10124

Closed
inottn opened this issue Jan 16, 2024 · 0 comments · Fixed by #10125
Closed

Mounting another app in the setup may trigger a warning #10124

inottn opened this issue Jan 16, 2024 · 0 comments · Fixed by #10125

Comments

@inottn
Copy link
Contributor

inottn commented Jan 16, 2024

Vue version

3.4.7

Link to minimal reproduction

https://stackblitz.com/edit/vitejs-vite-zttnks?file=src%2FApp.vue

Steps to reproduce

open the link.

What is expected?

No warning.

What is actually happening?

[Vue warn]: Slot "default" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead. warning is shown.

System Info

No response

Any additional comments?

This issue started to occur from vue 3.4.7, initially reported by vant user(related issue). I speculate that it is related to this commit, and based on the intention of this commit, the cause of this issue should be unexpected.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant