When Apollo’s Cache Gets Confused: Handling Nested Data Collisions

Imagine having an awesome day as a programmer — coding new features, enjoying your favourite coffee , when suddenly, you got yourself into a situation in your app’s data management. You delete an item, expecting it to vanish neatly, but instead, it disappears everywhere — even places it shouldn’t. Is it magic or something? Nope, it’s a … Continue reading When Apollo’s Cache Gets Confused: Handling Nested Data Collisions

Leveraging React Query: A Data-Fetching Powerhouse

Have you ever wondered how caching could transform your React applications, making them faster? In this blog, We’ll explore how React Query utilizes caching to streamline data fetching and management, alongside various methods for effective caching. Additionally, we’ll uncover the power of optimistic updates, a key optimization technique rarely used. What is cache?In React Query, … Continue reading Leveraging React Query: A Data-Fetching Powerhouse

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