Maintaining immutability when dealing with objects and arrays is very important in React. It ensures that the DOM updates correctly and predictably. But when we have nested data structures, maintaining immutability in our data can get ugly, very fast. This article explores 3 approaches to immutability — doing it natively, using ImmutableJS (a library which … Continue reading Native vs ImmutableJS vs Immer — Are libraries the way to go for immutability in React?
We are now in the last quarter of 2020, and the year has been eventful, to say the least! Back in March, this is definitely not how I saw the year going, but every uncertainty brings with it tremendous opportunities. As someone who has always believed in stepping out of the comfort zone, I think … Continue reading Evolving with the times: Lessons from 2020
The Problem I have been working on an application that, at it's heart, stores a large amount of data that is organized primarily through the use of a foreign key and a timestamp field. The table's own primary key is UUID based, combining the foreign key with a UUID for the individual record itself, and … Continue reading Efficient Evenly Distributed Sampling of Time Series Records in PostgreSQL