http://qiita.com/inuscript/items/41168a50904242005271 基本的なものだけ
import React from 'react'
↓
React = require(‘react')
import { Provider } from 'react-redux'
↓
Provider =require('react-redux’).Provider
import {oof as foo} from "foo";
↓
var foo = require("foo").oof;
ブロックスコープ
//sample code
let x = 1;
if(true) {
let x =2;
console.log('x is '+ x);// x is 2
}
console.log('x is '+ x);// x is 1
ローカルとグローバルでスコープが違えば同じ変数名を使える 変数の保護が出来るようなもの