Today we will be creating a simple counter app from scratch to learn the basics of using Vuex 4 with Vue 3 Composition API. We'll start by taking a look at Vuex concepts like state, getters, and mutations and how to use them within the options API, then we will switch over the compositions API and implement the same functionality. We'll also create some reusable helper functions to make accessing the store in the composition API more readable.
#vue #vuex #composition-api
Discord - / discord
Twitter - / jsbroks
⚡ RESOURCES ⚡
Vuex 4 Docs - next.vuex.vuejs.org/guide/#th...
Vue 3 - v3.vuejs.org/
Composition Vuex Helper functions Issue - github.com/vuejs/vuex/issues/...
Source Code - github.com/codingwithjustin/v...
⭐ TIMESTAMPS ⭐
0:00 - Intro
1:08 - Creating a project
1:17 - Vuex Concepts
2:45 - Options API
3:35 - Vuex map Functions
4:24 - Composition API
5:00 - Composition Helper Functions
6:02 - Conclusion
3 июл 2024