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

Checking reactivity types

Arrange the code that checks the type of a value:

Items to click

  • console.log('This is a ref')
  • import { isRef, isReactive } from 'vue'
  • }
  • if (isRef(value)) {

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