r/javascript • • Aug 27 '18

`export default` considered harmful

https://basarat.gitbooks.io/typescript/docs/tips/defaultIsBad.html
32 Upvotes

43 comments sorted by

View all comments

25

u/ronniegeriis Aug 27 '18

Honestly, the title should be changed. I could imagine a bunch of inexperienced developers getting confused and blindly becoming opposed to default exports, because they read they're harmful without actually understanding that it's an opinionated take.

32

u/yopla Aug 27 '18

Time for the next article:

> considered harmful considered harmful

7

u/kjots Aug 27 '18

considered harmful considered harmful

https://meyerweb.com/eric/comment/chech.html