I think it's a fair trade off when you think about it.
Firstly, you should be delivering your dependencies independently of your app's source. If you use a build plugin like gulp-rev, you'll be able to tell the browser to cache everything indefinitely. This means that when you add the angular 2 dependency, it'll be the only file besides the new app source that the browser has to download -- and only once.
After that, your app's resources should load just as fast as they used to. Granted, the app will obviously use a fair bit more memory running both versions simultaneously. It also may be a bit slower during the transition period.
Regardless of these things, you'd be hard pressed to find a more seamless migration between version 1 and 2 of a library than this -- ESPECIALLY with how different they are.
0
u/[deleted] Oct 07 '15
[deleted]