What is State Management? (Vue 3)

Опубликовано: 25 Май 2022
на канале: Make Apps with Danny
13,968
179

What is State Management?
👉 Vue 3 Composition API Course: https://dannys.link/compositionapi
👉 Watch Half of Course Free: https://dannys.link/compositionapifree

State Management solves a bunch of problems we find in complex, multi-page apps

It allows us to store all of our app’s core data (along with all of the methods related to that data) in one, single, centralized place which we call a Store

This Store sits outside of all of our components, but in a way that all of our components can access all of the data & methods within the Store.

In a typical Store, we have 3 sections:
State, where we store all of our data
Actions, where we store methods that can access the data in our state and also modify it
Getters, where we place methods that grab data from our state (possibly modify it in some way) and then return it

👉 Vue 3 Composition API Course: https://dannys.link/compositionapi
👉 My Courses - https://dannys.link/courses
👉 Download Fudget: https://www.fudget.com
👉 My VSCode Setup - https://dannys.link/vscodesetup
👉 DONT CLICK THIS - https://dannys.link/dontclick


Смотрите видео What is State Management? (Vue 3) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Make Apps with Danny 25 Май 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 13,968 раз и оно понравилось 179 людям.