← All Tags

Angular

10 articles

How to Use Route Parameters in Angular

4 min read

We often need to pass a parameter like an ID to a route and then access that ID in order to call an API to get some data. In this article, we'll look at how to define a route with a parameter, how to use params with the routerLink directive, and how to use the route snapshot to use a param in a component.

Read More →

Refetching Data with RxJS Subjects in Angular

2 min read

One of the things that drove me crazy when I was first learning RxJS in Angular was how difficult it seemed to reload a collection after I added or deleted an item. With promises, we could just use .then(), but what do we do with observables? In this lesson, I'm going to show you one way using RxJS Subjects.

Read More →

Project list gathering dust? 👀

Drop me a line below so I can send you the Tiny Experiments framework and worksheet. You'll also join over 2500 other devs and dev advocates on the Developer Microskills newsletter.