Recipes, talks & tips, on the house.

Articles, videos and the cookbook. Search by what you want to learn, or just browse what's fresh.

The CookbookFree The sauce (the why), the ingredients (the tools) and the recipes (the how) for testing, Angular and Nx. Open the cookbook

Everything

ArticleApr 2023 · 9 min read

Managing RxJS Traffic with Signals and Suspensify

Angular provides useful tools to handle RxJS & Signals interoperability but handling pending status and errors can quickly get tricky. Let's see how a simple RxJS operator can simplify things and improve consistency.

  • Angular
  • Signals
  • RxJS
ArticleApr 2023 · 8 min read

Beyond Angular Signals: Signals & Custom Render Strategies

While libraries and frameworks are getting better and better at tracking changes in a fine-grained way and propagating them to the DOM, we might notice that sometimes, the performance bottleneck resides in DOM updates. Let's explore how Angular Signals could allow us to overcome these performance bottlenecks with custom rendering strategies.

  • Angular
  • Signals
ArticleDec 2022 · 12 min read

Versatile Angular Style brings Modern Dev Tools to Angular

As surprising as this might sound, Angular is one of the easiest frameworks to integrate with modern dev tools out of the box (e.g. Vite, Vitest, SWC, Playwright Component Testing)... but only if you follow the Versatile Angular Style.

  • Angular
  • Architecture
ArticleFeb 2021 · 6 min read

Testing Angular Components Using Cypress

Whatever framework you are using, and even without frameworks, component testing is a challenging topic as there is no one-size-fits-all approach. Jest and Cypress are gaining traction but do you also feel that something is missing in between? What if we could isolate and test our components in Cypress (with or without Storybook)?

  • Testing
  • Angular
ArticleNov 2020 · 5 min read

Spice Up your Caching with Convoyr

Most web apps get their value from interacting with HTTP APIs. This is generally done using HTTP clients like the native fetch function, Axios or Angular's HttpClient. Once you set up an HTTP client on a web app then sooner or later, you will need to extend its capabilities in order to handle different topics like User Experience (e.g. pending requests indicator), performance (e.g. caching), resilience (e.g. automatic retry), and security (e.g. authentication). Luckily, most HTTP clients can be easily extended using interceptors so you won't have to wrap them or implement your own client. Even though implementing an interceptor can sound quick and easy, handling edge cases, testing and maintenance can get expensive. Wouldn't it be better if someone else could handle these issues for us?

  • RxJS
ArticleFeb 2020 · 6 min read

End-to-End HTTP request cancelation with RxJS & NestJS

Life is too short. When searching for something, we can’t afford to type a whole word or sentence in a search field, or filling all the fields then hitting our old keyboard’s half-broken enter key to finally be able to see the first results... or nothing at all because our search criteria were too restrictive. Don’t look at me like that! We can probably agree that most of us, if not all, are used to features like typeahead and live search results. We get frustrated every time we have to submit a search form.

  • RxJS
33 min
VideoJul 2019

Boost Your Time to Market by Dancing the Limbo

Stale or long-lived branches, conflicts & huge code reviews can cause technical and human issues in your team. In this talk, Younes demonstrates some alternative and sometimes extreme approaches promoting single-branch development with techniques like Limbo, Timeboxed TDD and Test && Commit || Revert.

  • Testing
  • Team practices
ArticleMar 2019 · 4 min read

Your Angular Module is a SCAM!

Angular modules can bring some complexity to your app. Choosing the right modules architecture is tricky... but wait, do we really need modules?

  • Angular
  • Architecture
ArticleMar 2019 · 4 min read

A New Syntax for Angular Templates

One of my favorite things about Angular is how the template is just a simple HTML file. This is really great; especially if you care about Collective Ownership. With some basic HTML knowledge, anyone can contribute to the application’s development: other teams, external web designers… or even the Client or Product Owner! Why not!? In other words, using HTML templates reduces the TTFC (Time To First Commit) which is the average time it takes for someone new in your team to make his first change.

  • Angular