react-native-macos/React
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
..
Base Add display:none support to react native 2017-03-01 09:16:05 -08:00
CxxBridge TODO is done 2017-02-28 14:15:57 -08:00
CxxModule Move some utilities to RCTCxxUtils 2017-02-16 14:02:03 -08:00
CxxUtils Move RCTFollyConvert to the correct namespace 2017-02-16 06:59:27 -08:00
DevSupport Add a RCTPackagerClientMethod handler for pokeSamplingProfiler in DevMenu 2017-02-24 08:30:50 -08:00
Executors Fixes current CI failures and allows tree shaking of native dev support code. 2017-02-27 14:04:58 -08:00
Modules Fixes current CI failures and allows tree shaking of native dev support code. 2017-02-27 14:04:58 -08:00
Profiler Fixes current CI failures and allows tree shaking of native dev support code. 2017-02-27 14:04:58 -08:00
React.xcodeproj Add missing websocket headers to React-tvOS target 2017-02-24 09:45:38 -08:00
ReactCxx.xcodeproj Create NSDataBigString 2017-02-20 05:00:58 -08:00
Views Add display:none support to react native 2017-03-01 09:16:05 -08:00
folly.xcconfig Fork React.xcodeproj to build the C++ bridge 2017-02-01 14:14:32 -08:00