Question · Vue.js course · Module 3: Reactivity

Performance with shallowRef

Why can shallowRef be better for performance with large objects?

Answer options

  • It uses less memory
  • It renders components faster
  • Vue doesn't create a deep proxy for nested properties
  • It supports Web Workers

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