Hacker News new | ask | show | jobs
by loganfsmyth 3933 days ago
ES6 imports are declarative, so dependencies are resolved and executed before the body of the module is executed. That means you don't conceptually have to think about whether your dependencies are loading synchronously or asynchronously.