Description
Version
2.5.2
Reproduction link
https://codesandbox.io/s/ympx4pk72z
Steps to reproduce
1、click the home link
2、click the test link
What is expected?
after the Home component destroyed,its updated hook should not be called
What is actually happening?
after the Home component destroyed,its updated hook is called
here is the log information
Home beforeCreate
Home created
Home beforeMount
Home mounted
Test beforeCreate
Test created
Test beforeMount
Home beforeDestroy
Home destroyed
Test mounted
Home updated
why the Home component can call updated hook after it is destroyed?
Is Vue designed to do so?