by jpadvo · 15y ago · 0 comments
For example, third party javascript files for social media sharing and liking buttons often take a miserable amount of time to load. Bringing them in asynchronously can dramatically improve the user experience of a site because the user doesn't have to wait for them to load before seeing the real content.
A similar reason is part of why tables are a bad layout strategy for content in HTML. Back in the day, some (all?) browsers would not render a table until everything in it had loaded. So if you put your entire page in a table, and that table had a big image, the image would block the rendering ofthe page.
That is what javascript loaders are about. Non-blocking loading of not-immediately-required resources.
They can just be module loaders or module systems.
I should have said that discussion missed the point(s) of script loaders...