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

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.

主站蜘蛛池模板: 通江县| 鲁山县| 韶山市| 中牟县| 渭源县| 新绛县| 吉林省| 太仓市| 遂昌县| 玉林市| 固始县| 托克托县| 江阴市| 和田市| 任丘市| 和政县| 博罗县| 阿克苏市| 临泽县| 连平县| 泰兴市| 庆城县| 西平县| 时尚| 桃江县| 辛集市| 扎囊县| 诸暨市| 石棉县| 武乡县| 加查县| 怀安县| 花莲县| 开江县| 鄂伦春自治旗| 沙雅县| 科技| 鄂托克前旗| 西宁市| 正定县| 松原市|