- Full-Stack Vue.js 2 and Laravel 5
- Anthony Gore
- 124字
- 2021-07-02 19:57:15
Vuex
Vuex provides a powerful way to manage the data of an application as the complexity of the UI increases, by centralizing the application's data into a single store.
We can get snapshots of the application's state by inspecting the store in Vue Devtools:

Figure 1.2. Vue Devtools Vuex tab
The left column tracks changes made to the application data. For example, say the user saves or unsaves an item. You might name this eventtoggleSaved. Vue Devtools lets you see the particulars of this event as it occurs.
We can also revert to any previous state of the data without having to touch the code or reload the page. This function, calledTime Travel Debugging, is something you'll find very useful for debugging complex UIs.
推薦閱讀
- LabVIEW Graphical Programming Cookbook
- Learn Swift by Building Applications
- C/C++常用算法手冊(第3版)
- Mastering Python High Performance
- Magento 1.8 Development Cookbook
- C程序設計案例教程
- HTML5+CSS3網頁設計
- 微信小程序全棧開發技術與實戰(微課版)
- 軟件項目管理實用教程
- Visual Basic程序設計(第三版)
- Machine Learning for Developers
- Mastering Apache Camel
- Web前端開發技術:HTML、CSS、JavaScript
- SAP Web Dynpro for ABAP開發技術詳解:基礎應用
- Clojure編程樂趣