官术网_书友最值得收藏!

Summary

In this chapter, we looked at Vue HTML declarations, conditionally rendering our HTML and showing an alternative if required. We also put into practice what we learned about methods. Lastly, we built a filtering component for our table, allowing us to show active and inactive users, find users with specific names and emails, and filter out rows based on the balance.

Now we've got to a good point in our app, it's a good opportunity to take a look at our code to see if it can be optimized in any way. By optimizations, I mean reducing repetition, making the code simpler if possible, and abstracting logic out into smaller, readable, and reusable chunks.

In Chapter 3Optimizing Our App and Using Components to Display Data, we will optimize our code and look at Vue components as a way of separating out logic into separate segments and sections.

主站蜘蛛池模板: 沙河市| 白沙| 芜湖县| 桑植县| 阳高县| 壶关县| 克拉玛依市| 甘泉县| 郯城县| 文安县| 南陵县| 梁河县| 沂南县| 庆城县| 博兴县| 和政县| 江川县| 朝阳县| 西安市| 梁河县| 两当县| 隆尧县| 林口县| 武城县| 怀远县| 秦皇岛市| 南木林县| 贡觉县| 台湾省| 德化县| 万州区| 山丹县| 平阳县| 成武县| 宜君县| 黔南| 大化| 兰溪市| 靖边县| 库尔勒市| 万年县|