Chapter 3. Style Patterns
Time to bring some looks for our applications. In this chapter we will explore styling solutions and mechanisms that are unique. React Native StyleSheet may resemble web cascading style sheets (CSS), however, Native application styling is different. Similarities in the syntax quickly part and you should spend some time with this chapter to catch the basics of styling. Later on in the book we will use external library that provide 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 you will learn how to:
- style components in React Native environment
- deal with limited style inheritance
- use density-independent pixels
- position elements with Flexbox
- handle long text issues
- make animations using Animated library
- measure your application speed using FPS metric