Immutable Array Operations in Typescript

In a previous blog post we explored how to perform immutable operations to update objects using Object.assign(). This time we are going to explore how to perform immutable operations on an array of objects which is a common pattern in Redux. If you wan’t to learn more about Redux, take a look at the excellent training course “Getting Started with Redux” by Dan Abramov, the creator of the library.

Continue reading Immutable Array Operations in Typescript

The Different Levels of Immutability in Javascript

Avoiding mutations in our code is becoming increasingly important in Javascript due to the principles of functional that makes our code easier to predict and to scale. This blog post can be considered a continuation of a previous one: The Limits of Object.assign().

Continue reading The Different Levels of Immutability in Javascript

Improving the Yeoman Generator Gulp Angular

The Yeoman generator generator-gulp-angular is a great tool for building AngularJS and in my opinion is much better than the official Yeoman generator for AngularJS (generator-angular), because it uses Gulp and not Grunt as the task runner, it has a component-like folder structure for the code instead of the “drawer” style, it uses libsass instead of compass (ruby), it supports Typescript and has a lot of options for configuration.

But there is a thing that I don’t like: how it handles bootstrap-sass. Continue reading Improving the Yeoman Generator Gulp Angular

Angular Gulp Generator Package List

This post is a reference list of all the npm packages that are found in generator-gulp-angular, the most complete Yeoman generator for AngularJS projects that uses Gulp, along with their descriptions and a link to each npm package page. Continue reading Angular Gulp Generator Package List