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

Summary

In this chapter, we learned about view patterns that will be very useful later on in this book. Now we know how to write concise JSX and type check components. We can also compose common built-in components from the React Native library. When we need to, we can write the markup of a simple form and know how to handle the input. We compared controlled and uncontrolled inputs and dove deep into how TextInput works. If some errors occur, our error boundaries will handle the problem.

Finally, we made sure that we have a strict style guide on how to write React Native code, and we enforced these rules by using ESLint.

In the next chapter, we will work on styling the components we have learned. Thanks to this, our application will look nice and professional.

主站蜘蛛池模板: 安平县| 论坛| 浮山县| 临武县| 银川市| 三明市| 洪湖市| 抚顺市| 军事| 红桥区| 和静县| 天长市| 垣曲县| 洞头县| 江门市| 榆社县| 桑植县| 六枝特区| 东城区| 临漳县| 皮山县| 定西市| 同心县| 永寿县| 泗阳县| 克拉玛依市| 孙吴县| 界首市| 高陵县| 新龙县| 太湖县| 新晃| 秦安县| 乐清市| 会东县| 黔西县| 盐边县| 南和县| 博乐市| 长海县| 晋州市|