react-native/Libraries/Components
Alexsander Akers 02db374e50 [React Native] Remove layout-only nodes (Take 2!)
Summary:
Remove layout-only views. Works by checking properties against a list of known properties that only affect layout. The `RCTShadowView` hierarchy still has a 1:1 correlation with the JS nodes.

This works by adjusting the tags and indices in `manageChildren`. For example, if JS told us to insert tag 1 at index 0 and tag 1 is layout-only with children whose tags are 2 and 3, we adjust it so we insert tags 2 and 3 at indices 0 and 1. This keeps changes out of `RCTView` and `RCTScrollView`. In order to simplify this logic, view moves are now processed as view removals followed by additions. A move from index 0 to 1 is recorded as a removal of view at indices 0 and 1 and an insertion of tags 1 and 2 at indices 0 and 1. Of course, the remaining indices have to be offset to take account for this.

The `collapsible` attribute is a bit of a hack to force `RCTScrollView` to always have one child. This was easier than rethinking out the logic there, but we could change this later.
2015-07-07 05:06:50 -08:00
..
ActivityIndicatorIOS [ActivityIndicator] Specify a width 2015-06-17 07:49:59 -08:00
DatePicker Removed deprecated RCT_EXPORT + code paths 2015-06-05 09:58:25 -08:00
MapView [madman]: Fix MapView crashing problem. 2015-06-25 21:21:08 -08:00
Navigation [React Native] Fix navigation bar translucency 2015-07-03 02:12:28 -08:00
ProgressViewIOS Removed deprecated RCT_EXPORT + code paths 2015-06-05 09:58:25 -08:00
ScrollView [React Native] Remove layout-only nodes (Take 2!) 2015-07-07 05:06:50 -08:00
SegmentedControlIOS Removed deprecated RCT_EXPORT + code paths 2015-06-05 09:58:25 -08:00
SliderIOS Add minimumTrackTintColor and maximumTrackTintColor to SliderIOS 2015-04-23 05:57:15 -08:00
StatusBar Removed deprecated RCT_EXPORT + code paths 2015-06-05 09:58:25 -08:00
SwitchIOS [ReactNative] use requireNativeComponent to clean up a bunch of boilerplate 2015-04-21 21:06:48 -08:00
TabBarIOS TabBarIOS tintColor 2015-05-26 17:21:36 -08:00
TextInput [react native] JS change to support placeholderTextColor on android 2015-06-25 05:15:21 -08:00
Touchable Restructuring FBReactKit project: Part 2 2015-06-28 11:49:41 -08:00
UnimplementedViews [ReactNative] introduce requireNativeComponent 2015-04-16 17:12:12 -08:00
View [React Native] Remove layout-only nodes (Take 2!) 2015-07-07 05:06:50 -08:00
WebView [WebView]: Kill `shouldInjectAJAXHandler`, and add `injectedJavascriptIOS` 2015-07-01 18:56:14 -08:00
ScrollResponder.js [ReactNative] clean lint for Libraries/Components 2015-05-18 15:54:07 -08:00
StaticRenderer.js [Haste] @provides -> @providesModule StaticRenderer 2015-05-14 08:42:13 -08:00
Subscribable.js [ReactNative] clean lint for Libraries/Components 2015-05-18 15:54:07 -08:00