What are the use cases for RequireJS vs. Yepnope vs. LABjs? – Quora

In Dev Tools, Frameworks, Javascript, Site Optimization by bchesleyLeave a Comment

Require.JS

Surprisingly to some (as the author of yepnope), this is the script loader that I use most. Also, I don’t like referring to it as a script loader, at all. It’s way more than a script loader. It just _happens_ to have script loading capabilities as a by-product of what it’s actually trying to accomplish: dependency management via modules.

Require.js is perfect for large applications, especially single page apps. It uses the AMD module specification for defining and requiring modules, and it loads these modules via a built in script loader. But again, that’s secondary. In the end, you should be using Jame’s Burke’s require optimizer `r.js` ( https://github.com/jrburke/r.js ) to build your application into a single file or two, so in production, this is barely a script loader at all.

via What are the use cases for RequireJS vs. Yepnope vs. LABjs? – Quora.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.