Question · Vue.js course · Module 4: Computed & Watch
Cost of deep watch
What is the potential cost of using { deep: true } in watch?
Answer options
- It traverses the entire object structure on every change - can be expensive
- There is no performance cost
- The cost only occurs on the first invocation
- Deep watch is faster than shallow
You can check the correct answer by solving this task in the CodeWorlds game.