v-memo doesn't work with v-if
Vue version
3.2.38
Link to minimal reproduction
Steps to reproduce
- click the button "count++"
- click the button "change show"
- click the button "change show"
- click the button "count++"
What is expected?
- the count display in the will increase
- the will remove
- the will show
- the count display in the will increase
What is actually happening?
- the count display in the will increase
- the will remove
- the will show
- the count display in the will NOT increase
System Info
window 10
vue 3.2.38
Any additional comments?
No response