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

Published: 27 January 2021
on channel: Make Apps with Danny
54,757
1.8k

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


Watch video Vue JS 3: Composition API for State Management (Vuex Killer?) online without registration, duration hours minute second in high quality. This video was added by user Make Apps with Danny 27 January 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 54,757 once and liked it 1.8 thousand people.