Angular Addicts #15: Angular v16.1, Typescript 5.1, new RFCs & more
Gergely Szerovay
Posted on July 25, 2023
👋Hey fellow Angular Addict
This is the 15th issue of the Angular Addicts Newsletter, a monthly collection of carefully selected Angular resources that got my attention. (You can read the first, second, third, fourth, fifth, sixth, seventh, eighth, ninth, tenth, eleventh, twelfth, thirteenth and fourteenth issue here.)
📢Release announcements
📢What's new in Angular 16.1?
In his blog post, Cédric Exbrayat summarizes the new features of Angular v16.1:
- TypeScript 5.1 support
- Transform input values
- Fetch backend for the Angular HTTP client
- Angular CLI:
--force-esbuild
option to force the usage of esbuild forng serve
📢Announcing TypeScript 5.1
Daniel Rosenwasser highlighted the most interesting new features in his announcement:
- Easier Implicit Returns for undefined-Returning Functions
- Unrelated Types for Getters and Setters
- Decoupled Type-Checking Between JSX Elements and JSX Tag Types
- Namespaced JSX Attributes
-
typeRoots
Are Consulted In Module Resolution - Linked Cursors for JSX Tags
- Snippet Completions for
@param
JSDoc Tags - Optimizations
- There are also some breaking changes
💬RFCs
💬RFC: Built-In Control Flow
This RFC proposes a new control flow syntax for the Angular HTML templates. It is heavily inspired by Svelte’s control flow, as well as by the Mustache templating language.
Daniel Glejzner explains the proposed transition from the current structural directives (NgIf, NgForOf, NgSwitch) to the new syntax in his article: Angular is getting New Template Syntax.
💬RFC: Deferred Loading
This RFC describes mechanisms that allow lazily loading of the lower priority parts of the UI or the page.
Manfred Steyer's post summarizes both RFCs with examples: Latest Angular RFCs: Control Flow & Deferred Loading.
💎Angular Gems of June, 2023
📰Angular Testing in 2023 - Past, Present, and Future
Angular 16 has deprecated Karma and introduced Jest in experimental mode. These changes raise a lot of questions. Rainer Hahnekamp explains this situation and the current state of testing in Angular.
📰Making Angular Custom Form Components Easier to Work With
Wayne Leung compares the following approaches for creating custom form components:
- Angular's Template driven forms and Reactive forms
- Native script's
BaseValueAccessor
- ngspot/ng-superclass: a library for simplifying writing reactive Angular components/directives and custom controls that implement ControlValueAccessor
- Angora Forms: a new custom form component abstraction library
📰The Best Way To Use Signals In Angular Apps
In his article, Christian Lüdemann compares Signals and RxJs, explains the core elements of Signals then builds a Todo app with Signals.
📰Fine-grained Architecture with Nx
Stefan Haas explains how Nx's local cache and Nx Cloud work, then suggests an architecture that aims to create the fastest possible builds.
📅Events and recordings
📅ng-conf 2023
The recordings of some talks of ng-conf 2023 are available on their channel:
- Angular Keynote | Minko Gechev & Jeremy Elbourn
- Superpowers with Signals | Emma Twersky & Alex Rickabaugh
- Faster apps with Angular SSR | Mark Thompson & Jessica Janiuk
- Angular Team Panel Q&A
👨💻About the author
My name is Gergely Szerovay, I work as a frontend development chapter lead. Teaching (and learning) Angular is one of my passions. I consume content related to Angular on a daily basis — articles, podcasts, conference talks, you name it.
I created the Angular Addict Newsletter so that I can send you the best resources I come across each month. Whether you are a seasoned Angular Addict or a beginner, I got you covered.
Next to the newsletter, I also have a publication called — you guessed it — Angular Addicts. It is a collection of the resources I find most informative and interesting. Let me know if you would like to be included as a writer.
Let’s learn Angular together! Subscribe here 🔥
Follow me on Medium, Dev.to, Twitter or LinkedIn to learn more about Angular!
🕹️Previous issues
If you missed the previous issues of the newsletter, you can read them here, these are the latest 3 issues:
- Angular Addicts #14: Angular v16, Signals and SignalStore, fine-grained change detection & more
- Angular Addicts #13: Angular v16, NX v16, SPARTAN & more
- Angular Addicts #12: Signals 🚦, Code organization principles, WebExpo & more
📨 Submit your Angular resource
Have you found or written an interesting Angular-related article, tweet or other resource lately? Please let me know here in the comments or send me a DM on Twitter! I might feature it in the next Angular Addicts issue!
Posted on July 25, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
October 8, 2024
August 10, 2023