Back to Blog
January 10, 2026 1 min read

Why GraphQL Over REST for This Portfolio

Decision
Featured
Depth: ●●○○○
Share:

Tradeoff analysis: type safety, bundle size, and the portfolio signal of using GraphQL.

When building this portfolio, I had a choice: use Sanity's native GROQ queries or implement a GraphQL layer. I chose GraphQL, and here's why.

The Tradeoffs

GraphQL adds complexity - codegen, schema management, additional build steps. But it also provides end-to-end type safety and signals to recruiters that I can work with modern data fetching patterns.