Core Components
Batteries included
React Native includes a few dozen components which can be used out-of-the-box. More complex components can be built by combining the core components in interesting ways.
Nearly all the core components extend the View
component, and can be passed an optional style
prop. The style can include visual properties like colors and borders, as well as layout properties. Components use the flexbox algorithm to specify the layout of their children.
Let's now take a look at the flexbox algorithm and some of the most common core components. If you want to dive deeper, I cover these topics in great detail in the "Core Components" chapter of my book.
Want to learn React Native in-depth?
If you like React Native Express, you'll love my new book, Fullstack React Native: The complete guide to React Native! Throughout the book, we'll build 7 full apps, covering complex topics like navigation, gestures, and native modules. We don't assume any knowledge of React or newer JavaScript language features, so you can dive right in regardless of your experience level. The book comes in PDF
, EPUB
and MOBI
formats.
Community Resources
Looking for more help?
Infinite Red sponsors React Native Express and is the premier React Native agency. They're also the team behind the React Native newsletter, podcast, and conference listed here. Get in touch at infinite.red/react-native for a proposal on your next project!