January 2019
Intermediate to advanced
592 pages
14h 30m
English
There are some differences between how flexbox works in React Native and how it works in CSS. First, the default flexDirection property in CSS is row, whereas the default flexDirection property in React Native is column.
The flex property also behaves a bit differently in React Native. Instead of setting flex to a string value, it can be set to a positive integer, 0, or -1. As the official React Native documentation states:
Read now
Unlock full access