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
When accessing a getter, we can memoize the value produced by the getter and tied that value to the reactive objects accessed from within the getter, and only call the getter again if any of those reactive objects changes.
VUE implements some of this, and this will also prevent people doing premature optimizations when the getter is suppose to do complex operations.
The text was updated successfully, but these errors were encountered:
If we are going to lift the restriction of mutations of non-decorated fields during rendering, we should make sure that we implement this, otherwise something like: <template>{cacheCounter}:{cacheCounter}</template> might output something like "1:2" instead of "1:1", without the memoization process.
SOMA#255
Migrated issue
notes:
When accessing a getter, we can memoize the value produced by the getter and tied that value to the reactive objects accessed from within the getter, and only call the getter again if any of those reactive objects changes.
VUE implements some of this, and this will also prevent people doing premature optimizations when the getter is suppose to do complex operations.
The text was updated successfully, but these errors were encountered: