Computed Properties

In this lesson, we will be testing Computed Properties.

Computed properties and watchers are reactive parts of the logic of Vue.js components. They both serve totally different purposes. One is synchronous and the other asynchronous, which makes them behave slightly differently from each other.

In this chapter, we’ll test them and see what different cases we can find on the way.

Computed Properties

Computed properties are simple reactive functions that return data in another form. They behave exactly like the language standard get/set properties:

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy