personal blog on code


  • Customize Angular Material Color

    Using a custom color with the color attribute in Angular Material components

  • Setup Tailwind CSS for Angular

    Step by step guide showing how to integrate Tailwind CSS into your Angular CLI application

  • RxJS heads up - toPromise is being deprecated

    In RxJS 7 toPromise will become deprecated and with RxJS 8 it will be gone! So avoid using toPromise in your future development when possible.

  • Having Fun with Angular and TypeScript Transformers

    Do you know the burden of handling your RxJs subscriptions manually? Did you ever forget one? TypeScript transformers are here to help.

  • Having Fun with State in Angular

    The last couple of weeks there was a little discussion going on about handling loading and error state in NgRx. Two blog posts were written about it shortly and I highly recommend looking into them if you are using NgRx.

  • Having Fun with Mixins in Angular

    How can we leverage Mixins in TypeScript and Angular. Take a tour and learn how Angular Material is using Mixins.

  • Having Fun with Structural Directives in Angular

    This post aims to show undocumented or inconvenient usage of angular directives. They can help in numerous ways to keep your view declarative and to move side effects to the outer boundaries of your application. As a result, you’ll get more readable and testable source code.

  • Don't fear the Boilerplate

    Many developers rant about the boilerplate that is produced when introducing a Redux based state management library in their Angular application. I can understand those developers, they are right in some way. Every abstraction has its price and escpecially state management can become hairy really fast. Especially if your are working in a large team with different levels of experience. But it's not the boilerplate you should be afraid of.


Christian Janker, Raintalweg 7, 3392 Gerolding, cj@christianjanker.at