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

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.

主站蜘蛛池模板: 江山市| 华宁县| 唐海县| 永登县| 安西县| 邵阳县| 星子县| 翼城县| 上栗县| 桃园市| 凉山| 称多县| 惠水县| 靖州| 马尔康县| 平利县| 娱乐| 西乌| 马龙县| 开封市| 荥阳市| 剑河县| 东乌| 阜城县| 云梦县| 连南| 永春县| 济源市| 墨玉县| 苍南县| 英德市| 鸡西市| 溧水县| 满洲里市| 寻乌县| 九龙县| 张家界市| 驻马店市| 噶尔县| 凤台县| 余姚市|