Dynamically loading JS libraries and detecting when they're loaded 1 year, 1 month ago Sometimes it makes sense to dynamically load JavaScript library code only at the point at which it's required. If functionality which uses that library is used rarely then it makes little sense incur the overhead of an additional HTTP request or data transfer on page load. We can dynamically load any JavaScript