DEV Community

Cover image for Angular Addicts #31: The new Resource API, effect updates & more
Gergely Szerovay for This is Angular

Posted on • Originally published at angularaddicts.com

Angular Addicts #31: The new Resource API, effect updates & more

đź‘‹Hey fellow Angular Addict

This is the 31th issue of the Angular Addicts Newsletter, a monthly collection of carefully selected Angular resources that caught my attention. (Here are 30th, 29th and 28th issues)

đź’ŽAngular Gems of October, 2024

đź“° Latest updates to effect() in Angular

In their blog post, Alex Rickabaugh and Mark Thompson explain the latest changes in Angular's effect API:

  • Angular 19 removes the allowSignalWrites flag
  • Effect timing changes make it more predictable and useful
  • Effects remains in developer preview in Angular 19

đź“° Angular's effect(): Use Cases & Enforced Asynchrony

Rainer Hahnekamp 's article explores the differences between computed Signals and effects. He explains when to use effects and how to handle enforced asynchrony to prevent timing bugs.

đź“° Resource: async loading with signals

Angular Team framework lead Alex Rickabaugh recommends limiting the use of effects. The Resource API is designed to abstract away the need for effects, it offers a clear, signal-based API for async data loading. Matthieu Riegler examines this new API.

đź“° Everything you need to know about the resource API

Enea Jahollari 's tutorial shows, how to:

  • Use the resource API to update data locally
  • Load and refresh data
  • Create reusable resources
  • Use Observables and the rxResource function for data loading

đź“° Integrate Monaco Editor in Your Angular 18 Project

Microsoft's Monaco Editor is a web based code editor powers VS Code. ngx-monaco-editor wraps this editor for Angular projects. Yulia Galiulina' s step-by-step guide shows, how to use the Monaco Editor in our Angular projects.

👨‍💻About the author

My name is Gergely Szerovay, I worked as a data scientist and full-stack developer for many years, and I have been working as frontend tech lead, focusing on Angular based frontend development. As part of my role, I'm constantly following how Angular and the frontend development scene in general is evolving. To share my knowledge, I started the Angular Addicts monthly newsletter and publication in 2022, 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. Let me know if you would like to be included as a writer. Let’s learn Angular together! Subscribe here 🔥

Angular has evolved very rapidly over the past few years, and in the past year, with the rise of generative AI, our software development workflows have also evolved rapidly. In order to closely follow the evolution of AI-assisted software development, I decided to start building AI tools in public, and publish my progress on AIBoosted.dev. Join my on this learning journey: Subscribe here 🚀

Follow me on Substack (Angular Addicts), Substack (AIBoosted.dev), Medium, Dev.to, Twitter or LinkedIn to learn more about Angular, and how to build AI apps with AI, Typescript, React and Angular!

🕹️Previous issues

If you missed the previous issues of the newsletter, you can read them here, these are the latest 3 issues:

📨 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!

Top comments (1)

Collapse
 
jangelodev profile image
JoĂŁo Angelo

Hi Gergely Szerovay,
Top 5, very nice and helpful !
Thanks for sharing.