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

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.

主站蜘蛛池模板: 历史| 郎溪县| 沐川县| 南郑县| 阜平县| 新龙县| 禹州市| 余江县| 赣榆县| 八宿县| 桓台县| 奇台县| 炉霍县| 任丘市| 射洪县| 盘锦市| 札达县| 南城县| 贵定县| 凤阳县| 会理县| 白沙| 明光市| 江油市| 灵丘县| 阿鲁科尔沁旗| 衡南县| 特克斯县| 临汾市| 伊春市| 安丘市| 云梦县| 南江县| 平原县| 临颍县| 靖宇县| 分宜县| 邯郸市| 巴林右旗| 萍乡市| 蕉岭县|