Put in order · Vue.js course · Module 3: Reactivity
Optimization with triggerRef
Arrange the steps for optimizing with triggerRef() in the correct order.
Items to put in order
- Modify a nested property directly
- Call triggerRef() to force update
- Vue re-renders the component
- Create shallowRef with an object
You can check the correct answer by solving this task in the CodeWorlds game.