The Pipe Operator: A Glimpse into the Future of Functional JavaScript

Saturday, May 22nd, 2021

In the dynamic landscape of JavaScript, the TC39 proposal for the Pipe Operator tends to stand out as an interesting progression in terms of streamlining function composition in a way increases readability, maintainability, and DX. In this article, we dive a bit deeper into the realms of functional programming in JavaScript, and how upcoming language features such as the Pipe… Continue Reading

ES2020 Optional Chaining & Nullish Coalescing

Tuesday, March 10th, 2020

Of the various Features proposed in ES2020, perhaps two of the simplest features will prove to be the most useful, at least in terms of simplification and maintenance are concerned. Specifically, the Optional Chaining Operator and Nullish Coalescing Operator are of particular interest as they are certain to result in less verbose, less error prone expressions. Optional Chaining In a… Continue Reading

Benefits of JavaScript Generators

Thursday, August 1st, 2019

One of the more nuanced features introduced in ES6 is that of Generator functions. Generators offer a powerful, yet often misunderstood mechanism for controlling the flow of operations, allowing developers to implement solutions with improved readability and efficiency. This article briefly delves into a few of the benefits that JavaScript Generators have to offer, elucidating on their purpose, functionality, and… Continue Reading

Quick Tip: React Spring & Babel Loader

Wednesday, July 3rd, 2019

Recently, I had integrated React Spring within an Application, and while it is one of the best Animation Libraries for React I have come across in quite some time; unfortunately, I encountered some issues when running tests and production builds. Essentially, the issues I experienced were related to the imported modules being written in ES6. This was an issue for… Continue Reading

Synchronizing package.json with yarn.lock

Monday, November 5th, 2018

After having used Yarn almost exclusively for the past couple of years, there has been one nagging issue which seemed to continually crop up. Specifically, the inability to have a project’s package.json dependency versions kept in sync with the actual versions in yarn.lock. And so, while running yarn upgrade results in all packages being updated to the latest versions (as specified… Continue Reading

Separation of Concerns: propTypes and Immutable.js

Wednesday, July 25th, 2018

When considering the separation of concerns between Container and Presentational Components (stateful / stateless components), I find it useful to leverage the core concepts of these patterns in order to define a clear boundary between where Immutable data types are used, and where raw JavaScript types are referenced exclusively. By having a clear separation which compartmentalizes where Immutable types are used… Continue Reading