Put in order · Vue.js course · Module 9: Composables & VueUse
Creating a New Array in shallowRef
Arrange the correct removal of an element from shallowRef:
Items to put in order
- items.value
- items.value =
- .filter(i =>
- i.id !== id)
You can check the correct answer by solving this task in the CodeWorlds game.