How to Use the Vue 3 Composition API for Global State Management (without Vuex)
Автор: Modus Create, LLC
Загружено: 2020-07-02
Просмотров: 24760
Описание:
Vue 3 brings a new feature for global state management - the Composition API. The Composition API in VueJS 3.0 can serve as an excellent alternative to Vuex for light state management. This Vue 3 tutorial demonstrates how to export a component's state into a separate composable module so it can be imported anywhere where reusable functionalities need to be accessed. This video also discusses setting up global state management with the Composition API and Vue JS 3 Hooks and shares best practices for using and managing Refs, toRefs, Reactive, Users, and more.
You can see this entire example in GitHub:
https://github.com/moduslabs/vue3-glo...
Modus Labs: https://labs.moduscreate.com/
Timestamps:
0:00 Open
0:27 Introduction
1:03 Vue 3 Composition API vs. Vuex
2:10 Using Refs
6:42 Async load and Async Await
7:42 Using Reactive
8:40 Importing and using toRefs
Grgur on Social Media:
Twitter: https://bit.ly/2Q7Y5tv
LinkedIn: https://bit.ly/2PEEbqW
GitHub: https://bit.ly/2MaOVuU
Modus Create is a trusted Vue.js partner helping global organizations build great user experiences. Learn more about our partnership: https://moduscreate.com/partners/vue/
Subscribe to the Modus Create YouTube Channel to get more insights about creating world-class web applications: http://mdus.co/subscribe
Modus Create maintains an active blog on web development, customer experience, and product management. Check it out: https://moduscreate.com/blog
💼 Ready to transform your career? Modus is expanding and hiring!! Check out these positions and apply today!
Business Intelligence Engineer
https://grnh.se/be0df69d3us
Front End Engineer (JavaScript, Vue)
https://grnh.se/7972d0183us
Full Stack Engineer (React, Node, AWS)
https://grnh.se/5d581fa93us
Full Stack Engineer - LeaseUp Web Application - (React,Python,AWS)
https://grnh.se/608025fd3us
Front End Engineer (React,Ionic)
https://grnh.se/4ed1104e3us
Front End Enginer (Angular, Ionic)
https://grnh.se/23c3a35b3us
QA Automation (Python/Pytest)
https://grnh.se/6a118e423us
Modus Create is a disruptive consulting firm that helps companies transform for success in the digital future through a unique collaborative engagement model that focuses on strategy, product design/build, user experience, company culture, and process change.
https://moduscreate.com
#Vue #Vue3 #VueJS #VueCompositionAPI #VueComposition
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: