There will be hmr problems when using the ant-design-vue Layout component under special circumstances
Version
vue 3.2.23
Environment
yarn, node 16 tsx
Reproduction link
https://github.com/rashagu/vue_test3
Steps to reproduce
special circumstances:tsx
, vue-router
, KeepAlive
, Layout component
edit /view/Test.tsx file and just wait hmr work
What is expected?
hmr working
What is actually happening?
hmr is not working
Uncaught (in promise) TypeError: parentComponent.ctx.deactivate is not a function
Hello, thank you for taking time filling this issue!
However, we kindly ask you to use our Issue Helper when creating new issues, in order to ensure every issue provides the necessary information for us to investigate. This explains why your issue has been automatically closed by me (your robot friend!).
I hope to see your helper-created issue very soon!