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

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.

主站蜘蛛池模板: 多伦县| 沙河市| 德格县| 淳化县| 湖州市| 德阳市| 衢州市| 秭归县| 应城市| 潮安县| 清镇市| 若尔盖县| 信宜市| 永修县| 青浦区| 保德县| 同江市| 北宁市| 房产| 白玉县| 黄大仙区| 岚皋县| 遂川县| 康保县| 绥德县| 章丘市| 印江| 秭归县| 玛曲县| 金坛市| 诸城市| 吉木萨尔县| 榆中县| 北川| 松溪县| 宁化县| 陈巴尔虎旗| 丰镇市| 神农架林区| 营口市| 天长市|