I am interested in learning the origin of, or reasoning behind, ES6 named exports (vs. default exports.) Are there threads I should look at?
-
-
@wycats Thanks for the explanation. Names/references as the backing mechanism in order to support cycles / avoid clobbering makes sense.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats Curious: cyclical single export modules "work" in node right now via fn hoisting. Is export-default precluded from this workaround? -
@isntitvacant export default is sugar for exports.default= so they work the same way as named exports. -
@wycats Ah! I misread your earlier tweet as "default exports are the only kind of export that can't support cycles." My mistake, sorry. -
@isntitvacant ah makes sense :)
End of conversation
New conversation -
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.