Question · Vue.js course · Module 9: Composables & VueUse
Computed Caching
What is the main advantage of computed() over a regular function?
Answer options
- Computed is faster than a function
- There is no difference
- Computed cannot return objects
- Computed is cached - it only recalculates when a dependency changes
You can check the correct answer by solving this task in the CodeWorlds game.