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

preview_player
Показать описание
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
Рекомендации по теме
Комментарии
Автор

This is a great video, actually explain what each of the parts are, which is something where the VueJS documentation fails completely.

m.v_f.s
Автор

Please do some projects. not like todo type of CRUD. try to make a POS where you will use any free rest API. Don't focus on design and the backend. just concentrate on vuejs.

riamahmed
Автор

why vuex in this time? don't you like to be updated yourself? Teach us to update technology, please.

riamahmed