Start using ngrx/effects for this
Explores advanced uses of NgRx Effects beyond basic HTTP calls, detailing how to isolate side effects and leverage the Actions Observable in Angular applications.
Tim Deschryver is a software developer and cloud architect specializing in Azure, DevOps, and web application security.
210 articles from this blog
Explores advanced uses of NgRx Effects beyond basic HTTP calls, detailing how to isolate side effects and leverage the Actions Observable in Angular applications.
A guide on testing NgRx selectors in Angular applications, focusing on pure functions and memoization.
Introducing ngx-testing-library, an Angular adapter for the DOM Testing Library approach, enabling tests focused on user behavior over implementation details.
A guide to simplifying state mutations in the NGXS state management library for Angular by integrating the Immer library.
Explains how to simplify NgRx reducers using Immer for immutable state management in Angular applications.
Explores strategies for real-time data synchronization in multi-user CRUD applications, focusing on web sockets, client refresh, and locking mechanisms.
A guide to configuring an Angular library to support automatic updates and code migrations using the `ng update` command.
Explores methods to make @Input() properties required in Angular components, including workarounds and the new built-in solution.
Explains how to create parameterized selectors in NgRx using factory methods, covering memoization and child selectors.
Explains state normalization in Redux, covering benefits like data consistency and faster access, with code examples.