-
Notifications
You must be signed in to change notification settings - Fork 117
Performance compared to webpack? #318
Comments
haven't done benchmarks between the two. I'd love for someone to give that a go if they have a chance. |
Does duo support async module loading or is there a way to manually do it if not? |
@markreg there's no async module loading support right now. I've worked with both async loading systems (YUI, Head.js, etc.) and bundles. From my experience, async loading introduces more issues than gains. I tend to prefer small, focused bundles for each page. Depends on the app size though too. Facebook, Yahoo, Google all require some form of lazy loading. Not sure about the webpack integration, but you could also expose the builds and then use something like head.js to load them asynchronously. Duo builds scripts that you can just include on the page, without any additional work. |
So there would be separate duo builds for each url and each js/css asset bundle would be loaded from cache/http when the client router emits a change event? |
Excuse me, but, how First is module bundler, second is package manager. At first Or I am wrong? |
How does duo compare to webpack in terms of performance e.g. async-loading, etc.? What is duo recommended for vs. webpack? Thanks!
The text was updated successfully, but these errors were encountered: