Open
Description
Vue version
3.4.21
Link to minimal reproduction
https://github.com/kkagura/test-unmount
Steps to reproduce
- open /page1 and click the button to go to /page2
- click button to unmount app
What is expected?
hook onMounted in Page2.vue should not be called when app unmount
What is actually happening?
hook onMounted has been called when app unmount
System Info
System:
OS: macOS 12.2.1
CPU: (8) arm64 Apple M1
Memory: 73.73 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v16.17.0/bin/yarn
npm: 8.15.0 - ~/.nvm/versions/node/v16.17.0/bin/npm
pnpm: 7.11.0 - ~/.nvm/versions/node/v16.17.0/bin/pnpm
Browsers:
Chrome: 125.0.6422.78
Safari: 15.3
npmPackages:
vue: ^3.4.21 => 3.4.27
Any additional comments?
No response