#Few Line of Hack Code Make React-Native Run on Windows
While React-Native just add support of Android,yet officeally they just only support on OSX.
After a few hours of debugging, I find a simple way of let React-Native run on Windows.
| // Simple wrapper to use bootstrap's grid system to position elements side-by-side | |
| var VerticalFieldsElement = React.createClass({ | |
| render: function() { | |
| return dom.div( | |
| { className: 'clearfix' }, | |
| React.Children.map(this.props.children, function(child) { | |
| if(!child) { | |
| return child; | |
| } |