Learn how to use Vuex to deal with the complexities of state management in medium-to-large-scale Vue.js applications.
Overview
Syllabus
Introduction
- Why use Vuex?
- Getting started
- Your objectives
- Setting up the environment
- Creating a centralized store
- Creating a Vuex store
- Using mapState
- Getting fullName
- Passing a parameter to getter
- Creating an isLoaded getter
- Creating a loading progress circle
- Using mapGetters
- Modifying data with a mutation
- Adding a new student
- Using mapMutations
- Making asynchronous calls with actions
- Passing parameters with actions
- Updating edit student with actions
- Using Vue.set to update your student array
- Creating an error display system
- Separating logic with modules
- Next steps
Taught by
Alexander Zanfir