Conceptual
Login

Computed Properties in Vue

computed(getter) returns a read-only ref whose value is cached and lazily recomputed only when a tracked dependency changes, versus a method which re-runs on every call; the getter must be a pure derivation, and a get/set pair form makes a writable computed.

This Concept is waiting for its first lesson!

computed(getter) returns a read-only ref whose value is cached and lazily recomputed only when a tracked dependency changes, versus a method which re-runs on every call; the getter must be a pure derivation, and a get/set pair form makes a writable computed.

Are you a teacher? Sign in to start contributing.

Sign In