This composable integrates reactive values into the vue reactivity system.
From within compute, you can reference any reactive values and return some derived value.
That value will refresh (for your vue component) whenever any of its reactive dependencies change.
Because compute may be called very often (if there are many updates), it should be fast.
This composable integrates reactive values into the vue reactivity system. From within
compute
, you can reference any reactive values and return some derived value. That value will refresh (for your vue component) whenever any of its reactive dependencies change.Because
compute
may be called very often (if there are many updates), it should be fast.