Click in order · Vue.js course · Module 3: Reactivity

Creating and mutating reactive

Arrange the steps for creating and mutating a reactive object in the correct order.

Items to click

  • {{ state.count }}
  • const state = reactive({ count: 0 })
  • state.count++
  • import { reactive } from 'vue'

You can check the correct answer by solving this task in the CodeWorlds game.