Last active
August 29, 2015 14:25
-
-
Save grabbou/0f701bc2c081ea41a947 to your computer and use it in GitHub Desktop.
ES6 in React-Native
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
View | |
} from 'react-native'; | |
// not rewritten to react-native/....../react-native.js, cannot find module 'react-native'; | |
// output looks like | |
// var _reactNative=require( | |
// | |
// | |
//'react-native'); | |
// note line breakes in output | |
import {View} from 'react-native' | |
// rewritten properly | |
// Any line breakes will break ANY import, even locals |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment