CommonJS was amazing but statically analysable imports are the killer feature of ES6 modules. Start using them today http://exploringjs.com/es6/ch_modules.html …
-
-
Replying to @dan_abramov
@dan_abramov idk why people say this. commonjs modules can be easily statically analysed too if that's your goal.2 replies 0 retweets 1 like -
Replying to @dan_abramov
@dan_abramov dynamic exports assignment isn't that common and if you want static analysis then you'll just use them statically1 reply 0 retweets 0 likes -
Replying to @sebmck
@dan_abramov i mean it's useful that es2015 modules don't allow it but using them just for that is kinda unnecessary2 replies 0 retweets 1 like -
Replying to @dan_abramov
@dan_abramov@sebmck Except that only set of keys is static. ES6 module exports are very well dynamic.1 reply 0 retweets 0 likes -
Replying to @RReverser
@dan_abramov@sebmck You can reassign whatever you want, e.g.https://gist.github.com/RReverser/a5a48758f808d20f80e9 …2 replies 0 retweets 2 likes
@rreverser @dan_abramov yeah, exactly. static analysability of ES2015 modules over CommonJS is waaaay overblown imo
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 