reactjs/react-future

Import module syntax

tompazourek opened this issue · 0 comments

Hi,

you are using the following import module syntax:

import { Button: MySpecialButton } from "Button";

ES6 defines different syntax (http://wiki.ecmascript.org/doku.php?id=harmony:modules) with the as keyword. I would expect the following import:

import { Button as MySpecialButton } from "Button";

Is it the same thing or does your import with colon mean something else?