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

Summary

In this chapter, we ped deep into JSX. We discussed why using JSX makes development with React easy and how JSX gets transformed into the plain native JavaScript. We split big the single React component into small, focused components and understood the advantages of reusable, modular components. We saw different JSX tags, JavaScript expressions, and how React is taking advantages of ES6 features such as spread attributes. In the end, we discussed advanced topics such as namespaced components and some gotchas that we should keep in mind while using JSX.

In the next chapter, we will focus on data flow and models to access data and component life cycle and their use.

主站蜘蛛池模板: 丰顺县| 汉中市| 伊通| 清徐县| 湖北省| 泰来县| 平舆县| 铅山县| 恩施市| 通河县| 木里| 墨江| 绥德县| 凌云县| 武城县| 大新县| 望城县| 建阳市| 凤山市| 鄂伦春自治旗| 梁山县| 全椒县| 镇宁| 青神县| 凌云县| 沂源县| 大丰市| 绿春县| 永寿县| 吉首市| 孝感市| 含山县| 马边| 荥经县| 绍兴市| 司法| 灵台县| 兰西县| 航空| 婺源县| 远安县|