In the react-native getting started example, there is this code:
var React = require('react-native');
var {
AppRegistry,
StyleSheet,
Text,
View,
} = React;
What is the var {...} = thing;
saying?
In the react-native getting started example, there is this code:
var React = require('react-native');
var {
AppRegistry,
StyleSheet,
Text,
View,
} = React;
What is the var {...} = thing;
saying?