Put in order · Vue.js course · Module 11: Pinia
Async Action Flow
Arrange the stages of the async action execution flow
Items to put in order
- members.value = await response.json()
- finally { isLoading.value = false }
- catch(e) { error.value = e.message }
- try { const response = await fetch(...) }
- isLoading.value = true; error.value = null
You can check the correct answer by solving this task in the CodeWorlds game.