Question · Vue.js course · Module 9: Composables & VueUse
triggerRef with shallowRef
When do we use triggerRef() with shallowRef?
Answer options
- Always after every change
- When we mutate the shallowRef value without creating a new object
- Only with ref(), not with shallowRef()
- To remove reactive tracking
You can check the correct answer by solving this task in the CodeWorlds game.