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:

Getting started with Meilisearch: A complete guide

Learn how to set up Meilisearch, index documents, and build keyword, semantic, and hybrid search with AI-powered retrieval.

Michiel Mulders
Jul 28, 2026 ⋅ 7 min read
pnpm vs. npm: The short version

pnpm vs. npm: Which package manager should you use?

Compare pnpm and npm across security defaults, disk usage, dependency strictness, and workspace policy to decide which package manager fits your project.

Chinwike Maduabuchi
Jul 28, 2026 ⋅ 10 min read
Tailwind CSS vs. StyleX: A real migration with 20 components

Tailwind CSS vs. StyleX: A real migration with 20 components

I migrated 20 production-style components from Tailwind to StyleX. Here’s what the data showed about LOC, CSS bundle size, build time, and type safety.

Chizaram Ken
Jul 27, 2026 ⋅ 11 min read
JWT Authentication: Best Practices And When To Use It

JWT authentication: Best practices and when to use it

A guide for using JWT authentication to prevent basic security issues while understanding the shortcomings of JWTs.

Flavio Copes
Jul 23, 2026 ⋅ 11 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