@@ -707,7 +707,7 @@ me [@SudheerJonna](https://twitter.com/SudheerJonna) for technical updates.
707
707
7. reverse()
708
708
709
709
If you perform any of the above mutation method on the list then it triggers view update. For example, push method
710
- on array named ' items ' trigger a view update,
710
+ on array named ' todos ' trigger a view update,
711
711
```javascript
712
712
vm.todos.push({ message: ' Baz' })
713
713
```
@@ -721,6 +721,14 @@ me [@SudheerJonna](https://twitter.com/SudheerJonna) for technical updates.
721
721
1. filter()
722
722
2. concat()
723
723
3. slice()
724
+ 4. map()
725
+ 5. reduce()
726
+ 6. find()
727
+ 7. includes()
728
+ 8. every()
729
+ 9. some()
730
+ 10. indexOf()
731
+ 11. join()
724
732
725
733
For example, lets take a todo list where it replaces the old array with new one based on status filter,
726
734
```javascript
@@ -5683,7 +5691,7 @@ access the vm instance.
5683
5691
#### Main Lifecycle Hooks
5684
5692
5685
5693
| Lifecycle Stage | Composition API Hook | Description |
5686
- |---------------------------| ----------------------| --------------------------------------------------------- |
5694
+ |------------------------- | -------------------- | -------------------------------------------------------|
5687
5695
| Before component creation | ` onBeforeMount ()` | Called right before the component is mounted |
5688
5696
| Component mounted | ` onMounted ()` | Called after the component has been mounted |
5689
5697
| Before update | ` onBeforeUpdate ()` | Called before the component updates the DOM |
0 commit comments