[Vuejs]-Vue3: `computed` is evaluated on change in any field of `props`, even unused one

0👍

It’s actually caused of your useFetch and not cause of the properties being refreshed. If your properties don’t play a role in your computed, it won’t refresh.

However, if you still want to use it, you can just verify before you fetch that your const {data} is well initialized and if it’s the case not refetch with no reason.

Leave a comment