Sveriges mest populära poddar

Angular Air

ngAir 79 - ng1 to ng2 Migration with Joe Eames

56 min • 12 september 2016
ngAir 79 - ng1 to ng2 Migration with Joe Eames #Show Notes Intro Joe’s background with migrations Pluralsight course Refactoring your ng1 app before migrating to ng2 Component based architecture What are the different approaches? 3 options: Big bang - should only do if takes a couple weeks, less than 10k lines of code Leave it alone - Maintain it in Angular 1 Slowly convert - Angular 1 app that calls Angular 2 for some pieces Can convert any Angular 2 component into Angular 1 directive When slowly converting, important to mitigate risk by doing smaller changesets Performance Angular 2 an order of magnitude faster Angular 1 is the slow piece Overhead with cooridination, but not that much What to do if no tests in current ng1 app? Do you need to have two http services running? What do you think of Angular’s approach to migration compared to Ember’s?   Wrap Up Answer Q&A from Twitter Upcoming shows:   Tips & Picks   Joe Eames Angular 2 Migration on Pluralsight https://www.pluralsight.com/courses/migrating-applications-angular-2 Stranger Things Jeff Whelpley PureScript Generics https://github.com/purescript/purescript/blob/dc458fb5e07935db9e3d6ee117f50206df99f9dd/examples/passing/GHCGenerics.purs Austin McDaniel TypeScript https://www.typescriptlang.org/ Justin Schwartzenberger Introducing Angular Modules - Root Module by John Papa https://johnpapa.net/introducing-angular-modules-root-module/
Kategorier
Förekommer på
00:00 -00:00