You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #796, I experienced problems with reactivity when using computed in some places. I was able to track it to useKResponsiveWindow, but am still not clear what exactly was going on. I temporarily resolved it by using watch even in places that would benefit from computed. The goal of this issue is to audit all watchers in lib/cards files and refactor to computed where possible or debug and comment on why watch has to be used exactly.
The Value Add
Reduces tech debt
computed model is more intuitive in some places
computed is generally more performant than watch
The text was updated successfully, but these errors were encountered:
Summary
In #796, I experienced problems with reactivity when using
computed
in some places. I was able to track it touseKResponsiveWindow
, but am still not clear what exactly was going on. I temporarily resolved it by usingwatch
even in places that would benefit fromcomputed
. The goal of this issue is to audit all watchers in lib/cards files and refactor tocomputed
where possible or debug and comment on whywatch
has to be used exactly.The Value Add
computed
model is more intuitive in some placescomputed
is generally more performant thanwatch
The text was updated successfully, but these errors were encountered: