Vue JS 3: Composition API for State Management (Vuex Killer?)

Vue JS 3: Composition API for State Management (Vuex Killer?)

Make Apps with Danny

54 года назад

55,019 Просмотров

In this video I’m gonna show you how to setup Vuex-style State Management for your VueJS 3 app using the Composition API instead.

I’ll also explain the Pros and Cons of using Composition API for State Management instead of Vuex.

0:00 Introduction
01:03 Getting Started
02:42 Counter App - Elements & Styles
04:30 Counter App - Data & Methods
07:36 Setup the Composition API Store
09:28 Make our Store Available Everywhere
12:47 Move the Methods into our Store
16:37 Create a Getter
18:58 Two-Way Data Binding
21:39 Protect our State from Outside Mutation
26:36 Pros & Cons

👉 My Courses - https://dannys.link/courses
👉 Download Fudget: https://www.fudget.com
👉 Subscribe - https://dannys.link/subscribe
👉 My VSCode Setup - https://dannys.link/vscodesetup
👉 DONT CLICK THIS - https://dannys.link/dontclick

Тэги:

#composition_api_tutorial #composition_api #compositionapi #computed #free_course #intro_to_composition_api #intro_to_vue_3 #intro_to_vue #javascript #learn_vue_3 #learn_vue #programming #reactive #ref #tech #vue_3_composition_api #vue_3_course #vue_3_tutorial #vue_3 #vue_composition_api_tutorial #vue_composition_api #vue_js_3.0_tutorial #vue.js_3_tutorial #vue.js_3 #vue.js #vue #vue3 #vuejs_3 #vuejs #vuejs3 #vuex #vuex_tutorial #vuex_state #state_management
Ссылки и html тэги не поддерживаются


Комментарии: