What is Component?
What is Duo?
Need advice about which tool to choose?Ask the StackShare community!
Sign up to add, upvote and see more prosMake informed product decisions
What are the cons of using Component?
What are the cons of using Duo?
Sign up to get full access to all the companiesMake informed product decisions
What tools integrate with Component?
Sign up to get full access to all the tool integrationsMake informed product decisions
Used Require.js to make the application modular. It provides better dependency management with asynchronous loading of scripts.
No real definitive reason, I find it to be the most natural way to import libraries and code in nodejs (prior to ES6 / import).
The RequireJS package manager is used by various web applications and services to manage dependencies on 3rd party libraries.
Very nice way to structure a project, as long as you know it will not be a hybrid app.