Explain toSignal custom equality checking in Angular 18

Loading

Reading Time: 4 minutes Introduction In this blog post, I want to describe the toSignal custom equality checking that Angular team released in version 18.1.0. toSignal supports an equal option where developers can pass in a function to determine whether or not two signal values are the same. The equal function was supported by the built-in signal when Angular … Read more

How to convert HTTP Response from Observable to Angular signal with toSignal

Loading

Reading Time: 6 minutes Introduction I extended my Pokemon application to call an API to retrieve a Pokemon by id. The HTTP request returned an Observable that required ngIf and async pipe to resolve in order to render the results in inline template. In this blog post, I want to demonstrate how to convert HTTP response to Signal with … Read more