Closed
Description
Reproduction
https://github.com/Ericlm/pinia-computed
Steps to reproduce the bug
Since version 2.2.5, computed values are evaluated at the start even if they're not displayed (when using storeToRefs).
It may be related to 254eec7
Expected behavior
The computed should only be evaluated when it is actually used.
Actual behavior
The computed is evaluated even if its value is displayed inside a v-if="false"
.
Additional information
No response