Hello, nice trick.

You could also consider migrate from moment.js to date-fns : https://date-fns.org/

It's module based and tree shakable.


This is a nice article, I see all the time young devs who choose another framework only because they think it's hype or something. I had to review some of their code, and it is often really bad, architecture speaking, and very complex to jump into or maintain.

Anyway, thanks for your words here !


Semantic release Angular with Gitlab CI

And publish on Gitlab Pages. And display our version with an APP_INITIALIZER.

In this article, we will go through the few steps that lead to publish an Angular application with the help of Gitlab CI pipelines, using semantic release to generate the appropriate version according to our commits and push…


In this article, we will see how to build and test and Angular project with Travis CI and Sonar Cloud.

Setup the tests

Of course our project will be on github, since it’s an easy way to integrate with Travis CI. End to end tests will be launched with Cypress. …


NestJs backend and Angular NgRx Data

Today we will explore the way to connect a simple NestJS server with the latest Angular NgRx Data.

In previous articles, we connected both a json-server and a SpringBoot backend with NgRx Data. …


NgRx can be tricky

Attention : This article is updated with NgRx version 8 and as much as possible with “new” syntax for creators like createAction and createReducer. The option is listed as : -c.

When you want to work with NgRx for you Angular application, you have many resources, to say the least…


Bootstrap and Angular

For those who don’t use / like that much Material Design, we still can do some Bootstrap … right ?

I like to use ngBootstrap for components that require jQuery in the original Bootstrap distribution. The good thing is you don’t have to import Bootstrap javascript files, and keep doing…


Spring Boot Data and Angular NgRx Data

In my previous article, I talked about NgRx Data linked to a simple json server. It was an attempt to show how easy is the Angular library with a simple CRUD backend.

Now let’s move on a little bit with a more “project style” application. This will be a Spring…


NgRx Data by John Papa and json-server

Update : The sources have been updated to Angular 12, without major breaking change. Testing is ensured through GitHub Actions pipeline and a few libs like https://github.com/hirezio/observer-spy.

Attention : the NgRx Data will be part of official NgRx starting with version 8 ! Check the next version docs : https://next.ngrx.io/guide/data


Lately I was still working with ng1.x applications and using Javascript librairies like Lodash and Moment.

Switchin to next versions, it’s very simple for an Angular 4 application to integrate (providing the types exists) and to develop with !

For Lodash, we just need to install both the lib and…

Alain Boudard

Frontend dev and downhill rider

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store