Understanding Prop Drilling in React: A Case Study of an E-commerce Shopping Cart

In the realm of React development, prop drilling often poses a challenge, particularly in applications with deep component hierarchies, such as e-commerce shopping carts. Developers face the task of choosing the right solution to address prop drilling while ensuring code maintenance, performance, and scalability. In this case study, we shall explore how prop drilling was … Continue reading Understanding Prop Drilling in React: A Case Study of an E-commerce Shopping Cart

Is It Time Yet to Embrace Recoil instead of Redux in React?

Before we walk down to theory, We have Repo out with a demo to show the difference between Recoil & Redux. Also, try running the application to see how new features from Recoil makes a difference. PerformanceRecoil subscriptions are on atom/selector updaters, while Redux is on all actions. So if you have N connected component and dispatch … Continue reading Is It Time Yet to Embrace Recoil instead of Redux in React?

How To Achieve Data Immutability in Javascript & React

React is a famous library for building dynamic user interfaces. Data immutability is an idea that came from functional programming and applying it to design of your front end app can have many benefits. What is Data mutation? To understand the idea of data mutation, will need to step back to the foundations of programming and understand how … Continue reading How To Achieve Data Immutability in Javascript & React