Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, I'm not saying that import was a mistake or even a good idea done in the wrong way. I use "import" whenever I can in my own code. It could be impossible to import only the particular things one needs, and that trusting tree-shaking is the best we can do. However, it very much seems like a first version to me, and that import statements could be made smart enough to destructure.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: