The Loaded JavaScript

As our JavaScript becomes less monolithic, we’re loading more and more small pieces of code, with all kinds of subtle interdependencies. There’s all manner of module systems, script loaders, patterns and practices, to manage loading our JavaScript, not to mention the increasingly widely supported defer and asyncattributes of the script element. But what’s really the best way to load your JavaScript to ensure all dependencies are met, with minimal impact on performance? Let Julio give you his as always considered opinion.