Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Angular's Future with Ivy: Outlook and Prophecies @bastacon in Frankfurt, Feb 2020

Angular's Future with Ivy: Outlook and Prophecies @bastacon in Frankfurt, Feb 2020

Manfred Steyer

February 26, 2020
Tweet

More Decks by Manfred Steyer

Other Decks in Programming

Transcript

  1. @ManfredSteyer About me… Manfred Steyer, ANGULARarchitects.io Angular Trainings and Consultancy

    Frankfurt, Munich, Vienna In-House: everywhere https://ANGULARarchitects.at/workshops Google Developer Expert for Angular Trusted Collaborator in the Angular Team Manfred Steyer
  2. @ManfredSteyer Warning: Private APIs ahead! Don't use them in production!

    No guarantees these features will ever land in Angular!
  3. @ManfredSteyer Angular Elements? • Wraps Angular Components as Web Components

    • Does currently not use private "Thrill Seeker"-APIs • Alternative: Hand-wrap "Thrill Seeker"-APIs (renderComponent) • Open Source for "Thrill Seeker"-APIs: ngx-elements
  4. @ManfredSteyer What is Zone.js? • Key to automatic change detection

    in Angular • Monkey-patches all browser objects • Finds out when event handlers ran • Tells Angular to update data bindings
  5. @ManfredSteyer Downsides • 100+ KB (uncompressed) • Web Components? •

    Magic • Zone.js cannot monkey patch native async/ await (ES 2017)
  6. @ManfredSteyer Conclusion Short term: Smaller bundles Long term: Huge potential

    Lazy components HOC Optional NgModules Zone-less change detection
  7. @ManfredSteyer Contact and Downloads [web] ANGULARarchitects.io [twitter] ManfredSteyer d Slides

    & Examples Public: Frankfurt, Munich, Vienna In-House: everywhere http://softwarearchitekt.at/workshops