react-native/Libraries
Emil Sjolander 4d69f4b2d1 Add display:none support to react native
Summary:
This diff adds display:none support to React Native. This enables hiding components which still calling their render method and keeping them within the state of your application. This enables preserving state in a component even though the component is not visible. Previously this was often implemented by rendering a component off screen as a work around. See below playground for usage.

```
class Playground extends React.Component {
  render() {
    return (
      <View style={{width: '100%', height: '100%', flexDirection: 'row', backgroundColor: 'white'}}>
        <View style={{width: 100, height: 100, display: 'none', backgroundColor: 'red'}}/>
        <View style={{width: 100, height: 100, backgroundColor: 'blue'}}/>
      </View>
    );
  }
}
```

Reviewed By: astreet

Differential Revision: D4611771

fbshipit-source-id: 0dbe0494d989df42994ab9ad5125d47f3233cc5a
2017-03-01 09:16:05 -08:00
..
ART Better error for ART <Group /> 2016-12-07 17:13:42 -08:00
ActionSheetIOS Redo exported headers and include paths for opensource 2016-12-07 15:28:29 -08:00
AdSupport Redo exported headers and include paths for opensource 2016-12-07 15:28:29 -08:00
Alert Optional Alert onDismiss callback to support Android default behavior 2017-02-27 14:04:57 -08:00
Animated Sync React Native with React 16.0.0-alpha.3 (take 2) 2017-02-27 17:30:30 -08:00
AppState Fix the website build 2017-02-21 09:11:01 -08:00
BatchedBridge Ignore mocks in packager 2017-02-24 13:01:34 -08:00
BugReporting Patch up for future React Sync 2017-02-08 14:50:43 -08:00
CameraRoll Documented CameraRoll.getPhotos() param and return values 2017-02-23 16:45:39 -08:00
Components `accessibilityViewIsModal` property was exposed for any view (iOS only) 2017-02-27 23:46:14 -08:00
Core Fixes type definition of StackFrame 2017-02-27 14:04:57 -08:00
CustomComponents Move new components out of `Experimental` directory 2017-03-01 09:16:05 -08:00
DebugComponentHierarchy Move React Core Integration to a Dependency 2016-04-21 09:28:23 -07:00
EventEmitter RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00
Experimental Move new components out of `Experimental` directory 2017-03-01 09:16:05 -08:00
Geolocation Update Geolocation.js 2017-01-31 11:58:30 -08:00
Image remove unused includes in fbobjc/Libraries 2017-02-19 18:33:49 -08:00
Inspector work around inspector redbox due to Fiber 2017-02-21 15:45:45 -08:00
Interaction Some perf tools for debugging js stalls 2017-02-06 17:46:34 -08:00
JSInspector Add Network agent 2016-11-02 12:29:15 -07:00
LayoutAnimation Sync React 2017-02-14 20:00:34 -08:00
Linking Auto-fix lint errors 2016-08-09 06:43:46 -07:00
LinkingIOS Redo exported headers and include paths for opensource 2016-12-07 15:28:29 -08:00
Modal Add property to force HW acceleration on Android for modal windows 2016-12-14 10:28:33 -08:00
NativeAnimation remove unused includes in fbobjc/Libraries 2017-02-19 18:33:49 -08:00
NavigationExperimental Deal with 0.38 'FlowFixMe's 2017-01-31 13:13:32 -08:00
Network Use weakSelf in RCTNetworking callbacks 2017-02-13 12:29:58 -08:00
Performance Support QuickPerformanceLogger.js in the old bridge 2017-02-16 11:33:48 -08:00
PermissionsAndroid inline a bunch of NativeModule requires 2017-02-17 16:49:38 -08:00
PushNotificationIOS Handle push notifications on iOS 2017-02-03 11:58:30 -08:00
RCTTest Apple TV support 4: support for input (tvOS focus engine) 2016-12-19 06:28:40 -08:00
ReactNative Add a hint to a very common AppRegistry error 2017-02-22 14:16:06 -08:00
Renderer Switch componentWillMount / componentWillUnmount order 2017-02-28 12:22:07 -08:00
Sample Fix missing RCTBridgeModule.h 2017-01-31 11:13:50 -08:00
Settings Redo exported headers and include paths for opensource 2016-12-07 15:28:29 -08:00
Share Update Share.js. Fixed bad grammar 2016-11-23 11:28:29 -08:00
Storage correctly order ASyncStorage 2017-02-21 15:18:40 -08:00
StyleSheet Add display:none support to react native 2017-03-01 09:16:05 -08:00
Text `RCTShadowViews`'s `cssNode` property was renamed to `yogaNode` 2017-02-21 08:45:05 -08:00
Utilities Merge AndroidConstants and IOSConstants into PlatformConstants 2017-02-22 15:01:11 -08:00
Vibration Redo exported headers and include paths for opensource 2016-12-07 15:28:29 -08:00
WebSocket Add RCTDevSettings module 2017-02-24 07:00:16 -08:00
react-native Finish AccessibilityInfo implementation 2017-02-27 18:34:19 -08:00
vendor RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00
Promise.js Make onUnhandled safe for undefined errors 2016-08-02 07:58:28 -07:00
promiseRejectionIsError.js RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00