3 ms·
A few hundred modules? Could you talk more about that?
by asimuvPR 10y ago
A few hundred modules? Could you talk more about that?
- jahewson 10y ago"Modules" refers to individual source files, not npm packages. A single npm package can contain many source files, each of which is a separate CommonJS module. Most npm modules are small, so I'd expect in the average case that the majority of modules are actually your own app code.
- doublerebel 10y agoAnything with assets expressed as JavaScript modules is easy to get to 100. Architectures that include compile-to-JS templates like hyperscript/react/jade. Or where there are many variations on a theme, like game characters and sprite components. But once we're into gaming, users are way more tolerant of load times. Any standard CRUD app or BI dashboard should be nowhere near 1000, imho.