Accelerating Angular Development with Ivy
Lars Gyrup Brink Nielsen, Jacob Andresen, Santosh Yadav
- 242 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Accelerating Angular Development with Ivy
Lars Gyrup Brink Nielsen, Jacob Andresen, Santosh Yadav
About This Book
Get a comprehensive introduction to the major Angular framework rewrite known as Angular IvyKey Featuresā¢ Upgrade your Angular applications from traditional View Engine to modern Angular Ivyā¢ Get a detailed walkthrough of the new features and breaking changes in Angularā¢ Explorer new Angular APIs, syntax, tooling, and configurations for modern frontend web developmentBook DescriptionAngular Ivy is the latest rendering engine and compiler introduced in Angular. Ivy helps frontend developers to make their Angular applications faster, better optimized, and more robust. This easy-to-follow guide will help you get to grips with the new features of Angular Ivy and show you how to migrate your Angular apps from View Engine to Ivy. You'll begin by learning about the most popular features of Angular Ivy with the help of simple stand-alone examples and realize its capabilities by working on a real-world application project. You'll then discover strategies to improve your developer workflow through new debugging APIs, testing APIs, and configurations that support higher code quality and productive development features. Throughout the book, you'll explore essential components of Angular, such as Angular Component Dev Kit (CDK), Ahead-of-time (AOT) compilation, and Angular command line interface (CLI). Finally, you'll gain a clear understanding of these components along with Angular Ivy which will help you update your Angular applications with modern features. By the end of this Angular Ivy book, you will learn about the core features of Angular Ivy, discover how to migrate your Angular View Engine application, and find out how to set up a high-quality Angular Ivy project.What you will learnā¢ Find out why Angular Ivy tests are faster and more robustā¢ Explore the concept of CSS custom properties and scoping of values and learn how to use them with Angular Ivyā¢ Use testing harnesses present in Angular components to write effective testsā¢ Explore the architecture of the Angular compatibility compiler and understand why it is importantā¢ Discover effective techniques for migrating your existing Angular apps to the Ivy engineā¢ Overcome challenges that you might face when switching to AOT compilationWho this book is forThis book is for experienced Angular web developers who want to migrate to the latest Ivy engine for building faster web applications. Intermediate knowledge of Angular and TypeScript will help you get the most out of this book.
Frequently asked questions
Information
Chapter 1: Discovering New APIs and Language Syntax
- The optional chaining operator (?.)
- The nullish coalescing operator (??)
- Native private class members (#)
- Modernizing your code with powerful language features
- Optimizing regional support with improved globalization APIs
- Enhancing tests with stronger types and new APIs
Technical requirements
- Angular Ivy version 9.1
- TypeScript version 3.8