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

Опубликовано: 27 Январь 2021
на канале: 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


Смотрите видео Vue JS 3: Composition API for State Management (Vuex Killer?) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Make Apps with Danny 27 Январь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 54,757 раз и оно понравилось 1.8 тысяч людям.