Question 18
Which of the following are true about mutations and actions in Vuex?
Actions can be asynchronous
Only actions can call APIs through fetch call
Mutations should modify state directly
Mutations can be asynchronous
Which of the following are true about mutations and actions in Vuex?
Actions can be asynchronous
Only actions can call APIs through fetch call
Mutations should modify state directly
Mutations can be asynchronous
Correct answers
Actions can be asynchronous
Only actions can call APIs through fetch call
Mutations should modify state directly
Question 18 of 32 in the IIT Madras BS Modern Application Development II (MAD 2) End Term paper sat on 31 Aug 2025, in the May 2025 term (IIT M IMPROVEMENT AN EXAM QIB3 31 Aug 2025). It carries 3 marks.