TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How, When, And Why Script Loaders Are Appropriate

4 pointsby reybangoalmost 14 years ago

1 comment

ericmoritzalmost 14 years ago
The only thing I've used a script loader for modules that may or may not be needed at runtime. For instance, UI components. My application may have 50 UI components but a page may only use 5 of those. To concat all 50 components into one script would be wasteful.