2023-01-26
1446
#apollo#graphql#react
Hassan Djirdeh
156398
110
Jan 26, 2023 ⋅ 5 min read

Mocking GraphQL requests using the React Apollo library

Hassan Djirdeh Hassan is a senior frontend engineer who's worked at different organizations to build large production applications at scale. He's a published author and course instructor, helping thousands of students learn in-depth frontend engineering skills like React, Vue, TypeScript, and GraphQL. When he's not in front of his laptop, you can find Hassan spending time with family, at the gym, and running through the 6.

Recent posts:

What if you could lay out UI without CSS? Meet Pretext

CSS wasn’t built for dynamic UIs. Pretext flips the model by measuring text before rendering, enabling accurate layouts, faster performance, and better control in React apps.

Chizaram Ken
Apr 21, 2026 ⋅ 9 min read
Why real-time frontends break at scale and how to fix them

Why real-time frontends break at scale and how to fix them

Why do real-time frontends break at scale? Learn how event-driven patterns reduce drift, race conditions, and inconsistent UI state.

Alexander Godwin
Apr 20, 2026 ⋅ 12 min read
I tested every major auth library for Next.js in 2026 Here’s what you should use

I tested every major auth library for Next.js in 2026: Here’s what you should use

Test out Auth.js, Clerk, WorkOS, and Better Auth in Next.js 16 to see which auth library fits your app in 2026.

Ikeh Akinyemi
Apr 20, 2026 ⋅ 14 min read
When to move API logic out of Next.js

When to move API logic out of Next.js

When should you move API logic out of Next.js? Learn when Route Handlers stop scaling and how ElysiaJS helps.

Temitope Oyedele
Apr 15, 2026 ⋅ 8 min read
View all posts

Hey there, want to help make our blog better?

Join LogRocket’s Content Advisory Board. You’ll help inform the type of content we create and get access to exclusive meetups, social accreditation, and swag.

Sign up now