- Hands-On Design Patterns with React Native
- Mateusz Grzesiukiewicz
- 155字
- 2021-08-13 15:13:03
Styling Patterns
It's time to add some looks to our applications. In this chapter, we will explore unique styling solutions and mechanisms. React Native StyleSheet may resemble web cascading style sheets (CSS); however, Native application styling is different. Similarities in the syntax quickly end and you should spend some time with this chapter to learn the basics of styling. Later on in this book, we will use an external library that provides ready-made styles. It is crucial for you to understand how to make such components yourself, especially if you plan to work professionally in React Native in teams who deliver custom designs.
In this chapter, we will cover the following topics:
- Styling components in the React Native environment
- Dealing with limited style inheritance
- Using density-independent pixels
- Positioning elements with Flexbox
- Handling long text issues
- Making animations using the Animated library
- Measuring your application's speed using the Frames Per Second (FPS) metric
推薦閱讀
- JavaScript語言精髓與編程實踐(第3版)
- R大數(shù)據(jù)分析實用指南
- PySide 6/PyQt 6快速開發(fā)與實戰(zhàn)
- The Professional ScrumMaster’s Handbook
- Rust游戲開發(fā)實戰(zhàn)
- HTML5+CSS3+jQuery Mobile APP與移動網(wǎng)站設(shè)計從入門到精通
- Arduino電子設(shè)計實戰(zhàn)指南:零基礎(chǔ)篇
- Applied Deep Learning with Python
- IBM RUP參考與認(rèn)證指南
- Mapping with ArcGIS Pro
- 游戲設(shè)計的底層邏輯
- Isomorphic Go
- 程序員的英語
- Building Web and Mobile ArcGIS Server Applications with JavaScript(Second Edition)
- Backbone.js Patterns and Best Practices