Summary
In this first chapter, we discussed the modern language features that were introduced with the recent versions of TypeScript to accompany Angular Ivy. Through simple, common examples, we learned about nullish coalescing and optional chaining. We also identified the differences between TypeScript access modifiers and native private class members, all of which are features that we will make use of throughout the code in this book. By learning about these topics, you can now refactor your existing application or implement new features using these powerful language additions.
Globalization is needed for regional and multilingual support in Angular applications. We covered the basics of configuring multiple locales for our Angular build process. After that, we discovered our newfound ability to lazy load locale data such as regional number, currency, and date formats, as well as directionality information.
To demonstrate runtime locale switching, we created a locale picker...