filmov
tv
#29 - Vuex 4 State Management - Vue 3 (Options API) Tutorial

Показать описание
In this Vue 3 tutorial, we learn how to use the Vuex state management API when provide and inject isn't enough. We cover how to create and use a store, change and pass data to mutations, retreiving data with getters and async operations with actions. Finally, we cover the mapper convenience methods and their alternative syntax.
We cover the following topics:
1. What is Vuex & State Management
2. Vuex Setup
3. How to use the Vuex store
4. How to change data with mutations
5. How to pass data to mutations with payloads
6. How to retrieve data with getters
7. Getters object
8. Async operations with actions
9. Forwarding a payload
10. Mapper convenience methods
11. How to generate a new project with the Vuex package
_Note that this tutorial is for the Vue 3 Options API (which is similar to Vue 2). We later move on to the Composition API and then the Script Setup (3.2 update)_
This lesson is also available in written format
Check out the Vue 3 for Beginners playlist for more Vue tutorial videos
Subscribe to the channel and never miss a lesson
Visit the website for a wide range of programming tutorials
We cover the following topics:
1. What is Vuex & State Management
2. Vuex Setup
3. How to use the Vuex store
4. How to change data with mutations
5. How to pass data to mutations with payloads
6. How to retrieve data with getters
7. Getters object
8. Async operations with actions
9. Forwarding a payload
10. Mapper convenience methods
11. How to generate a new project with the Vuex package
_Note that this tutorial is for the Vue 3 Options API (which is similar to Vue 2). We later move on to the Composition API and then the Script Setup (3.2 update)_
This lesson is also available in written format
Check out the Vue 3 for Beginners playlist for more Vue tutorial videos
Subscribe to the channel and never miss a lesson
Visit the website for a wide range of programming tutorials
Комментарии