Imperative vs Declarative programming

What you do in general while coding? Tell the machine how to do it or ask the machine to do it for ourselves. Photo by Goran Ivos on Unsplash So today we will be going through the concepts like imperative programming and declarative programming.These concepts are not languag specific. So what is imperative programming? Imperative programming means you … Continue reading Imperative vs Declarative programming

Native vs ImmutableJS vs Immer — Are libraries the way to go for immutability in React?

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?