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

Unmounted should cleanup effects #356

Closed
mote-ice opened this issue Apr 30, 2024 · 2 comments · Fixed by #357
Closed

Unmounted should cleanup effects #356

mote-ice opened this issue Apr 30, 2024 · 2 comments · Fixed by #357
Labels
bug Something isn't working in plan

Comments

@mote-ice
Copy link

如果我先 挂载一个 组件,卸载之后再挂载另一个组件之后 vite-plugin-vue-devtools 就会在控制台输出错误:Cannot read properties of undefined (reading 'api');

image

复现链接:

@alexzhang1030
Copy link
Member

alexzhang1030 commented May 19, 2024

Apologies, the fix conflicts with the backward compatibility of the plugin API. Let's hold off on fixing it until the communication capabilities are redesigned(WIP, not too long).

@alexzhang1030 alexzhang1030 changed the title Cannot read properties of undefined (reading 'api') Unmounted should cleanup effects May 19, 2024
@webfansplz
Copy link
Member

Fixed in v7.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working in plan
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants