Vuex Concepts
Vuex Concepts
Minimum price
Suggested price
Vuex Concepts

This book is 100% complete

Completed on 2016-07-08

About the Book

Vuex is an application architecture for centralized state management in Vue.js applications. It is inspired by Flux and Redux, but with simplified concepts and an implementation that is designed specifically to take advantage of Vue.js' reactivity system.

About the Authors

Daniel Schmitz
Daniel Schmitz

Daniel Schmitz is a software developer and writer. He's originally from Brazil and has published several books in Portuguese/English.

Table of Contents

  • I Introduction
    • 1. What is Vue.js?
    • 2. What is Flux?
    • 3. Why use it
    • 4. When to use it
    • 5. Basic concepts
  • II A complete example
      • 5.1 Creating the project
      • 5.2 Creating components
      • 5.3 Including Vuex
      • 5.4 Creating a state variable
      • 5.5 Creating mutations
      • 5.6 Creating Actions
      • 5.7 Creating getters
      • 5.8 Changing the Display component
      • 5.9 Changing the Increment component
      • 5.10 Testing the application
    • 6. Chrome vue-devtools
    • 7. Passing data through Vuex
    • 8. Dealing with Errors
    • 9. Working with async methods
    • 10. Notifying the user of the application state
    • 11. Using Vuex to control the waitMessage
  • III Modular Vuex

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Free Updates. Free App. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets), MOBI (for Kindle) and in the free Leanpub App (for Mac, Windows, iOS and Android). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

Authors, publishers and universities use Leanpub to publish amazing in-progress and completed books and courses, just like this one. You can use Leanpub to write, publish and sell your book or course as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub