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

Using markRaw with a library

Arrange the steps for using markRaw with an external library in the correct order.

Items to click

  • import { markRaw, reactive } from 'vue'
  • const chart = markRaw(new ChartLibrary())
  • state.chart.render()
  • const state = reactive({ chart })

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