Skip to content
You are not logged in |Login  
     
Limit search to available items
Record:   Prev Next
Resources
More Information
Bestseller
BestsellerE-book
Author Koutifaris, Andrea.

Title Vuex Quick Start Guide : Centralized State Management for your Vue.js applications.

Imprint Birmingham : Packt Publishing, 2018.

Item Status

Description 1 online resource (144 pages)
Contents Cover; Copyright and Credits; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Rethinking User Interfaces with Flux, Vue, and Vuex; MVC problems and the Flux solution; What is Vuex?; Understanding the Flux fundamentals; Actions; Dispatcher; Stores; Views; Rendering data in the stores; Stores and private components model; Summarizing Flux architecture; Benefits of using Flux; Summary; Chapter 2: Implementing Flux Architecture with Vuex; Technical requirements; Vuex at a glance; Boilerplate code for the examples; Vue.js reactivity system explained.
Understanding the core concepts of VuexUnderstanding the Vuex store; Accessing the single state tree inside components; The mapState helper; Components' local state; Computing a derived state with getters; The mapGetters helper; Changing the application state with mutations; Commiting a mutation; Enumerating mutation types using constant strings; Mutations must be synchronous; The mapMutations helper; Committing mutations within actions; Action declaration; Dispatching an action; The mapActions helper; Using modules for better scalability; Module local state; Module with namespace.
Dynamic module registrationModule reuse; Enabling strict mode while developing; Form handling restrictions when using Vuex; A simple counter example; Summary; Chapter 3: Setting Up Development and Test Environment; Technical requirements; Setting up the development environment; Using npm to prepare the project for Vue/Vuex ; Using vue-loader for single-file components; Configuring the test environment; Summary; Chapter 4: Coding the EveryNote App Using Vuex State Management; Technical requirements; Designing the EveryNote web app; Application structure; Developing the EveryNote app.
Using a to-do list to help the development processDisplaying a list of notes; Creating new notes; Deleting existing notes; Updating existing notes; Other features; Recap and some considerations; Synchronizing with a remote server; Summary; Chapter 5: Debugging Vuex Applications; Using vue-devtools; Component inspector; Events inspector; Vuex time travel; Enabling the Vuex built-in logger plugin; Summary; Chapter 6: Using the Vuex Plugin System; Technical requirements; Understanding the Vuex plugin system; Empowering EveryNote with two plugins; Saving the app state with vuex-persistedstate.
Synchronizing router data with vuex-router-syncDeveloping a Google Analytics plugin; Developing an undo/redo plugin; Dealing with asynchronicity using promises; Chaining promises; Parallel execution of promises; Common mistakes when using promises; Summary; Other Books You May Enjoy; Index.
Summary State management preserves the state of controls in an user interface. Vuex is a state management tool for Vue.js that makes the architecture easier to understand, maintain and evolve. This book is the easiest way to get started with Vuex to improve your Vue.js application architecture and overall user experience.
Local Note eBooks on EBSCOhost EBSCO eBook Subscription Academic Collection - North America
Subject JavaScript (Computer program language)
Web applications -- Development.
Web applications -- Programming.
Web site development.
COMPUTERS -- Internet -- Application Development.
COMPUTERS -- Programming Languages -- JavaScript.
JavaScript (Computer program language)
Web site development
Other Form: Print version: Koutifaris, Andrea. Vuex Quick Start Guide : Centralized State Management for your Vue.js applications. Birmingham : Packt Publishing, ©2018
ISBN 9781788991544 (electronic bk.)
1788991540 (electronic bk.)
9781788999939