News for hackers. Stuff that matters.
Re:React Native is now open source by itsbits on Friday March 27, 2015 @03:17AM (#9275060)
I am seeing something like this in Native code

var { AppRegistry, Image, ListView, StyleSheet, Text, View, } = React;

is this ES6 feature?

Re:React Native is now open source by billybolero on Friday March 27, 2015 @04:32AM (#9275205)
Yes, that's an ES2015 (formerly known as ES6) feature called destructuring. It's just one of the great features of ES2015. You can use ES6 today by transpiling to ES5 with https://babeljs.io