Question · Vue.js course · Module 3: Reactivity
Choosing a reactivity tool
Which tool is best for a simple counter?
Answer options
- ref(0)
- reactive({ count: 0 })
- shallowRef(0)
- markRaw(0)
You can check the correct answer by solving this task in the CodeWorlds game.