Joshua Morony explores Angular 17's Signal Components, emphasizing advantages such as precise change detection and streamlined input management. The TypeScript 5.1 release brings support for skipping return statements in functions that return undefined.

Signal Components with Joshua Morony

Angular YouTuber Joshua Morony, who enjoys a strong reputation in the community, has put out a fresh video covering Signal Components—a capability anticipated to arrive in Angular 17. This API plays the same foundational role for Signals that Standalone API plays for Standalone Components, cementing it as a crucial element of the Signals ecosystem.

Within his presentation, Joshua points to four principal advantages of these components. To start, they enable app development free of zone.js, which supports granular change detection and cuts down on the bundle size we ship.

On top of that, the new input function, which takes over from the @Input decorator, returns the value as a Signal, so there is no more reliance on NgOnChanges or RxJs patterns built around Subject to emit input modifications. Two-way binding is also easier to set up: by invoking a model function, you get a new value that can be directly used for two-way binding, meaning you no longer need separate Input and Output properties. And for queries like ViewChild or ContentChild, a plain function call now does the job.

Watching Joshua’s breakdown, it becomes evident why a large share of existing lifecycle hooks turn out to be redundant when Signal Components enter the picture.

TypeScript 5.1

The latest TypeScript release, 5.1, is now available. Its versioning scheme is not the typical semantic one—major bumps don't necessarily signal breaking changes, and minor bumps aren't just about new capabilities. Given TypeScript's central position, the team goes out of its way to steer clear of anything disruptive.

A key addition in 5.1 lets developers skip return statements when a function is typed to return undefined. Earlier, this omission was allowed only for functions declared with a void return type. This adjustment brings TypeScript in line with JavaScript, which implicitly yields undefined at runtime when no explicit return is present.

The remaining updates focused heavily on JSX, meaning this version holds more appeal for React folks than for Angular developers.

Minor Releases

Several incremental updates shipped, including Nx 16.3, a framework that serves as an alternative to Angular.

Nx 16.3 ChangeLog

Meanwhile, Bootstrap—a long-standing CSS tool—hit version 5.3 with its latest release.

Bootstrap 5.3.0 | Bootstrap Blog

It’s official, the final stable release of v5.3.0 has landed! It’s been a monumental effort to revamp our codebase for CSS variables and color modes, one that will see continued changes leading up to an eventual Bootstrap 6. And we’re so excited to finally ship it! On top of all the work that’s gone into this release, a lot has happened behind the scenes since we shipped our pre-releases. Keep reading to learn everything that’s new in v5.3.0.

favicon blog.getbootstrap.com