devtools-next icon indicating copy to clipboard operation
devtools-next copied to clipboard

Unmounted should cleanup effects

Open mote-ice opened this issue 1 year ago • 1 comments

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

image

复现链接:

mote-ice avatar Apr 30 '24 02:04 mote-ice

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 avatar May 19 '24 16:05 alexzhang1030

Fixed in v7.3.0

webfansplz avatar Jun 16 '24 10:06 webfansplz