Vue JS 3: Composition API for State Management (Vuex Killer?)
54.6 هزار بار بازدید -
4 سال پیش
-
In this video I’m gonna
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
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
4 سال پیش
در تاریخ 1399/11/08 منتشر شده
است.
54,618
بـار بازدید شده