I haven\'t seen this syntax before and am wondering what it\'s all about.
var { Navigation } = require(\'react-router\');
The brackets on
This is destructuring assignment. It's a new feature of ECMAScript 2015.
var { AppRegistry, StyleSheet, Text, View, } = React;
Is the equivalent to:
var AppRegistry = React.AppRegistry; var StyleSheet = React.StyleSheet; var Text = React.Text; var View = React.View;