- Hands-On Design Patterns with React Native
- Mateusz Grzesiukiewicz
- 150字
- 2021-08-13 15:12:58
View Patterns
One very demanding skill is writing good view code the first time around. It comes with experience and becomes almost automatic at some point. Hence, it is vital to do it right from the beginning. In this chapter, we will explore best practices and go through the React JSX patterns that you already used in the previous chapter. We will also focus on the broader spectrum of built-in components, which include input and forms. At the very end, I will show you a nice tool called a linter that is essential for any new frontend project.
In this chapter, you will learn how to do the following:
- Write concise JSX
- Use common React Native built-in components
- Create simple forms using TextInput
- Distinguish between controlled and uncontrolled input
- Create error boundaries
- Eliminate Mixins from your code base
- Set up a linter to enforce your code style guide
推薦閱讀
- Web程序設(shè)計及應(yīng)用
- AngularJS Testing Cookbook
- Visual Studio 2012 Cookbook
- 圖解Java數(shù)據(jù)結(jié)構(gòu)與算法(微課視頻版)
- 高級C/C++編譯技術(shù)(典藏版)
- Web全棧工程師的自我修養(yǎng)
- CKA/CKAD應(yīng)試教程:從Docker到Kubernetes完全攻略
- Learning Network Forensics
- Visual Basic 6.0程序設(shè)計實驗教程
- 分布式數(shù)據(jù)庫HBase案例教程
- Test-Driven iOS Development with Swift
- Keil Cx51 V7.0單片機高級語言編程與μVision2應(yīng)用實踐
- Mastering Object:Oriented Python(Second Edition)
- 軟件測試(慕課版)
- SCRATCH編程課:我的游戲我做主