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?

Immutability with Immer in React

In React applications the most important part is the application state. We can maintain local state within the component or global state across the application using Redux. Managing the state becomes crucial as we may have inconsistent app behavior or have bugs if the state is not managed properly. So while dealing with the state … Continue reading Immutability with Immer in React

Attract Maximum Social Media Traffic to Your Site

Everyone uses social media these days. We share our thoughts, things we find interesting and new things we learned on these platforms. Because that’s what social media is for, Learn, share and grow together!! We all know the power of social media. We can reach out to many people around the world within a short … Continue reading Attract Maximum Social Media Traffic to Your Site