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

Summary

In this chapter, we saw why component-based design is good. We saw what simple React components look like. We saw a few interesting differences between ES5 and ES6, and we also saw how those differences influence React components.

We also saw a few ways to make ES6 code work in an ES5-compatible way. We can write cutting-edge code that works on common browsers. We can even bundle that code into single, efficient files, or debug it live in a browser.

In the next chapter, we're going to look at some intricacies of state and properties. We'll begin by creating reusable React components to use in our example application.

主站蜘蛛池模板: 墨竹工卡县| 穆棱市| 翁源县| 泰安市| 北票市| 图木舒克市| 汾阳市| 石河子市| 汕头市| 海淀区| 达州市| 怀来县| 濮阳市| 寿阳县| 洛阳市| 会泽县| 霍林郭勒市| 汪清县| 西畴县| 灵丘县| 嵊泗县| 枣阳市| 中江县| 昭通市| 阿克苏市| 清河县| 高阳县| 灵川县| 延安市| 醴陵市| 韶山市| 溧阳市| 景宁| 定南县| 广元市| 正阳县| 彭州市| 德昌县| 湖南省| 玉环县| 丽水市|