Question · Vue.js course · Module 3: Reactivity
shallowRef() vs ref()
How does shallowRef() differ from ref()?
Answer options
- shallowRef() tracks only .value changes, not nested properties
- shallowRef() doesn't track changes
- shallowRef() is faster but less precise
- shallowRef() works only with numbers
You can check the correct answer by solving this task in the CodeWorlds game.