- Vue.js 2.x by Example
- Mike Street
- 127字
- 2021-07-02 20:00:28
Optimizing your App and Using Components to Display Data
In Chapter 2, Displaying, Looping, Searching, and Filtering Data, we got our Vue app displaying our people directory, we can use this opportunity to optimize our code and separate it out into components. This makes the code more manageable, easier to understand, and makes it easier for other developers to work out the flow of data (or you, when you come back and look at your code in a few months!).
This chapter is going to cover:
- Optimizing our Vue.js code by reducing the repetition, and logically organizing our code
- How to create Vue components and use them with Vue
- How to use props and slots with components
- Utilizing events to transfer data between components
推薦閱讀
- Mobile Application Development:JavaScript Frameworks
- Getting Started with ResearchKit
- DevOps for Networking
- Leap Motion Development Essentials
- Visual Basic程序設計教程
- 高級C/C++編譯技術(典藏版)
- C語言程序設計
- Reactive Programming With Java 9
- Python機器學習經典實例
- 利用Python進行數據分析(原書第3版)
- Mastering JavaScript Design Patterns(Second Edition)
- IoT Projects with Bluetooth Low Energy
- HTML5移動前端開發基礎與實戰(微課版)
- Professional JavaScript
- Python程序設計:基礎與實踐