Question · Vue.js course · Module 4: Computed & Watch
The deep option in watch
How do you observe deep changes in a nested object stored in a ref?
Answer options
- Use the { deep: true } option
- Use deepWatch() instead of watch()
- Deep changes are tracked automatically
- Nested changes cannot be tracked
You can check the correct answer by solving this task in the CodeWorlds game.