You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 15, 2025. It is now read-only.
React Native now supports percentages as of 0.42. All of our versions going forward will rely on percentages. It has much faster performance compared to what we did before when we relied on `onLayout`. The API for apps is the same. There should be no difference in expected output of your app.
57
+
54
58
#### Changes for 0.2.0
55
59
56
60
As of 0.2.0 Row will automatically wrap components. If you do not want components to automatically wrap you must specify `nowrap` in the row's prop.
@@ -59,6 +63,11 @@ As of 0.2.0 Row will automatically wrap components. If you do not want component
59
63
<Row size={12} nowrap>
60
64
```
61
65
66
+
## Known Issues
67
+
68
+
For react-native 0.41 and earlier you muse use `[email protected]` or earlier.
69
+
70
+
Since React Native before 0.41 and earlier doesn't support percentages we have to rely on using React Native's `onlayout` to pass the width of the parent to the child. This causes layouts to be a bit slow, because the child has to wait for the parent to layout and then rerender. This problem is resolved by using react native 0.42 and the `[email protected]` or later.
0 commit comments